Need a Hi-Res timer for use in NT/95/98
Posted on 1998-09-25
I'm looking for some kind of delay routine that's very accurate across processor speeds. I heard a rumor that the Pentium has an instruction that returns a 64-bit number in nanoseconds?
Does someone have a practical example of it using an inline asm, for compilation in MSVC?
I've tried the 'Zen Timer' routine, but NT doesn't like it much. It's resolution is perfect for my use on a '95/'98 machine, but I'm looking for an NT compatible one.
P.S. - I'll give you billing in the freeware program I'm writing.