Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Measuring time to nanosecond resolution, how?

New Message Reply About this list Date view Thread view Subject view Author view

Fenton Travers (ftravers@home.com)
Fri, 15 Jan 1999 20:16:05 -0800


Any one know how to measure as high a resolution of time as possible ie
greater than 1 millisecond? I know the gettimeofday() call, but on
Solaris is used something like hrtime() high resolution time, (i don't
remember the actual name of the function but it was something like that)
is there an equivalent way to measure elapsed time. Basically I want to
know when 10 ms +/- 100ns has elapsed very accurately.

Thanks...
Fenton


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Fri 15 Jan 1999 - 20:19:43 PST