GetSuperHighResolutionTimer

Returns the current time in 838-nanosecond increments.

Thread Context:Non-Blocking

Syntax

    LONG GetSuperHighResolutionTimer (void);
    
    

Return Values

Time in approximately 838 nanoseconds per count.

Remarks

This is a high resolution timer that combines the lowest WORD of Current Time with the timer register to give a timer resolution of approximately 838 nanoseconds per count. This call does not allow for possible tick count rollover, so the programmer must take into consideration a “negative” time count. This rollover will occur approximately every hour, starting when the server is initalized.

This call is not supported in NWPA Version 3.12. Use NPA_Micro_Delay if OS independence is required.