From: "Guy Laroche-Joubert" Newsgroups: comp.os.msdos.djgpp Subject: Re: millisecond in C++ Date: Tue, 13 Oct 1998 19:22:05 +0200 Organization: Guest of OLEANE Lines: 21 Message-ID: <7002c8$r9g$1@minus.oleane.net> References: <6vtd1r$h5f$1 AT minus DOT oleane DOT net> <36226856 DOT 57D05397 AT cartsys DOT com> NNTP-Posting-Host: dialup-188.def.oleane.com X-Trace: minus.oleane.net 908299464 27952 195.25.5.188 (13 Oct 1998 17:24:24 GMT) X-Complaints-To: abuse AT oleane DOT net NNTP-Posting-Date: 13 Oct 1998 17:24:24 GMT X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks guy Nate Eldredge a écrit dans le message <36226856 DOT 57D05397 AT cartsys DOT com>... >Edouard Laroche-Joubert wrote: >> >> Hello, >> I need to get the elapsed time between two steps and I only found how to get >> it in seconds but it's too long ! >> >> Is theire a way to get it in milliseconds or microseconds ? > >`clock' will report elapsed time, but it's only accurate to about 55 >ms. `gettimeofday' may do better. `uclock' should be very precise but >won't work on some OS's. Read their respective docs. >-- > >Nate Eldredge >nate AT cartsys DOT com