X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Damien Knight" Newsgroups: comp.os.msdos.djgpp Subject: RDTSC ? Date: Sun, 2 Dec 2001 21:35:04 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse AT supernews DOT com Lines: 9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.