Mail Archives: djgpp/2001/12/03/02:40:13
On Sun, 2 Dec 2001, Damien Knight wrote:
> As I've been told, RDTSC is a feature of pentium (and up) processers that
> tracks the number of processer cycles completed since the system last
> powered up, making it useful for calculating system uptime - but more
> importantly, it can be used to test code optimization and so on.
>
> My question : How do I get this value and use in in a DJGPP program? If
> anyone has a function already written, that'd be great.
I suggest to search the archives of this group for RDTSC, I'm quite
sure such code was posted here at least once.
The archives search facilities are available here:
http://www.delorie.com/djgpp/mail-archives/
- Raw text -