High Resolution Timer Functions

The High Resolution Timer section contains the following functions:

>THR_BeginTiming

>THR_UpdateTiming

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 parameters

Parameter Value
secs Time value in seconds
ns Time value in nanoseconds. The nanoseconds value must always be less than 109 (which is equal to 1 second)