Sender: nate AT cartsys DOT com Message-ID: <36226856.57D05397@cartsys.com> Date: Mon, 12 Oct 1998 13:36:38 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: millisecond in C++ References: <6vtd1r$h5f$1 AT minus DOT oleane DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie 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