delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/30/10:30:37

Message-ID: <368A4113.5190@gazonk.del>
Date: Wed, 30 Dec 1998 10:04:51 -0500
From: "Foobar T. Clown" <foobar AT gazonk DOT del>
Organization: Blurp
X-Mailer: Mozilla 3.01 (WinNT; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: timing in u sec range
References: <36897C5A DOT F256B909 AT bellsouth DOT net>
NNTP-Posting-Host: 198.133.110.49
X-Trace: 30 Dec 1998 10:05:07 -0500, 198.133.110.49
Lines: 11
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Lester Davis wrote:
> 
> is it possible to do timing in hundreds of micro seconds. I need to do
> something, wait 300 u secs then do something else.I'm using a 133 mhz
> pentium.
> 
> Thanks

You can use the Pentium instruction, RDTSC for sub-microsecond timing. 
Do a web search for it and you'll find lots of pages giving information
about how to use it.

- Raw text -


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