High Resolution Timer Functions

These functions can be used to measure time intervals with very high resolution. The accuracy of the timing is around 1 microsecond.

These functions both use the structure, THR_TIME. This structure contains two values: seconds (secs) and nanoseconds (ns). The nanoseconds are always less than 109 (equal to 1 second).

>THR_BeginTiming

>THR_UpdateTiming