delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/02/21:47:53

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Damien Knight" <spook AT kmfms DOT com>
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: <u0lpbq1krber57@corp.supernews.com>
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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019