Re: High res timer
- From: "Jon Slaughter" <Jon_Slaughter@xxxxxxxxxxx>
- Date: Thu, 06 Sep 2007 19:46:02 GMT
To be honest, I guess I really need a high res timer becaues I also want to
send data. The data doesn't have to be syncronized though as the pc will be
a "master". Although I will need to send the data to the port in a timely
fashion at some configurable rate from 1khz to 100khz(the faster the
better). (jitter is not a huge concern though)
I figure that if I time a thread that, say, runs at 150mhz, I can setup a
delay to lock in on a specific rate. But in this case I'm wasting a lot of
cycles delaying the thread. If I had a Thread.Sleep that was more accurate
than 1ms then it would be a piece of cake. (I understand that theres a lot
of task switching invovled and stuff but I'm not looking for the optimal
method but something that works and doesn't bring the system to a screaching
halt).
.
- Follow-Ups:
- Re: High res timer
- From: Doug Semler
- Re: High res timer
- References:
- High res timer
- From: Jon Slaughter
- High res timer
- Prev by Date: High res timer
- Next by Date: Re: C# Console app with hidden window and user input
- Previous by thread: High res timer
- Next by thread: Re: High res timer
- Index(es):