Re: time in us in OnTimer
- From: "Tio Cactus" <tomjey@xxxxx>
- Date: 6 Sep 2006 00:27:37 -0700
Joseph M. Newcomer napisal(a):
If you need something that precise, build an external embedded system. Counting in
microseconds is pretty meaningless in a value as large as you specified (I can't tell what
you intended because of the odd use of commas) but you if are asking for something to
happen 4,560,120,320 microseconds apart, or about once every 76 hours. So accuracy to a
microsecond is almost certainly irrelevant.
Furthermore, the best you could *possibly* hope for would be 1000 microseconds resolution,
and you are more likely to consider yourself fortunate beyond belief if you could get
anything accurate to within 15,000 microseconds, so again counting anything to
microseconds is pretty pointless.
Youcould use QueryPerformanceCounter for very tiny measurements, which means that you
could time intervals of as little as a few hundred nanoseconds, with a variance of
hundreds of milliseconds (seriously!). So what are you *really* trying to do?
joe
In Specification of transmission which I'm writing occur tiny interval
of time e.g. Tss (means the time which is required for a host to poll
one peripheral device) Tss= 43 us
Some other period are 55us or 320us. E.g program sometimes must wait
55us to start next action. The device which program simulates require
tiny measurements. Is some way to get this ??
.
- Follow-Ups:
- Re: time in us in OnTimer
- From: Alexander Grigoriev
- Re: time in us in OnTimer
- From: Joseph M . Newcomer
- Re: time in us in OnTimer
- References:
- time in us in OnTimer
- From: Tio Cactus
- Re: time in us in OnTimer
- From: Joseph M . Newcomer
- time in us in OnTimer
- Prev by Date: Re: Win32 app has problems running on 64-bit edition of XP (functions fail)
- Next by Date: I can't run my MFC app: MFC71.dll missing
- Previous by thread: Re: time in us in OnTimer
- Next by thread: Re: time in us in OnTimer
- Index(es):
Relevant Pages
|
Loading