Mail Archives: djgpp/1998/10/12/16:42:28
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
- Raw text -