delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/18/07:44:33

From: "Marp" <Marp AT 0 DOT 0 DOT 0 DOT 0>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Accurate timing!
Date: Thu, 17 Feb 2000 22:42:17 -0500
Organization: MindSpring Enterprises
Lines: 21
Message-ID: <88if6e$mvc$1@nntp8.atl.mindspring.net>
References: <20000217184531 DOT 24890 DOT qmail AT web112 DOT yahoomail DOT com>
NNTP-Posting-Host: 04.30.99.6e
X-Server-Date: 18 Feb 2000 03:44:14 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Try uclock() instead. It has a much higher resolution than clock() and you
can use it the same way you use clock().

"Mohamed Saad" <bazramit AT yahoo DOT com> wrote in message
news:20000217184531 DOT 24890 DOT qmail AT web112 DOT yahoomail DOT com...
> Hello everyone...
>   is there a library for calculating accurate time
> between 2 events?
>   currently is use clock() (time.h), but i think it is
> not accurate enough! (it gives 0 for short periods!!)
>
>   thank you in advance...
>
> Urs forever...
>    Mohamed Saad El Dawy
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com


- Raw text -


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