Microsecond timers/delays
-
Hi, I'm testing a piece of hardware that receives network traffic and want to see exactly at what frequency it gets overburdened by the load of traffic. To do this I wrote a simple program that sends packets at a set interval. My problem is the following: The hardware doesn't break up at intervals of 1 millisecconds, so I need higher resolution delays or timers in my program (somewhere in the order of 50 microsecconds or so) than the timers I've been using (Threading.Timer or Forms.Timer). I found an article on the net saying this is possible with C++, but I can't find any info on the subject in c#. Can anyone help? Thanks in advance for any help I might get...
-
Hi, I'm testing a piece of hardware that receives network traffic and want to see exactly at what frequency it gets overburdened by the load of traffic. To do this I wrote a simple program that sends packets at a set interval. My problem is the following: The hardware doesn't break up at intervals of 1 millisecconds, so I need higher resolution delays or timers in my program (somewhere in the order of 50 microsecconds or so) than the timers I've been using (Threading.Timer or Forms.Timer). I found an article on the net saying this is possible with C++, but I can't find any info on the subject in c#. Can anyone help? Thanks in advance for any help I might get...
-