Mail Archives: djgpp/1994/11/08/00:12:33
KPD> Well, the PC goes at least to 10 nanosecond resolution, even now.
KPD> There are plenty of 100 Mhz '486s out there, so whole nanoseconds
KPD> is not such a reach or so far in the future as to be
KPD> neglectable. Probably a lot of applications could use profiling
KPD> to that resolution even today.
DJD> No, I meant that the best resolution of the independent timer
DJD> chips available on the PC is around a microsecond (OK; 0.8
DJD> microsecond, but who's counting?) Since there are reliably no
DJD> timers with better resolution in a standard PC, there's no point
DJD> in reporting any finer resolution.
DJD> Perhaps we should set CLOCKS_PER_SEC (or whatever) to 1193046 ?
Ah, OK, I'll hush up again for a while. Pretty obviously the clock chips
are lagging a long way behind the CPU architectures. Not my area of
expertise, obviously.
Xanthian.
--
Kent, the man from xanth.
Kent Paul Dolan, CSC contractor at Fleet Numerical. (408) 656-4363.
(Navy Unix email: ) (Navy cc:Mail email: ) (real world email: )
<dolan AT fnoc DOT navy DOT mil> <dolank AT fnoc DOT navy DOT mil> <xanthian AT well DOT sf DOT ca DOT us>
- Raw text -