AR_TICKS_PER_SECOND Constant

The AR_TICKS_PER_SECOND constant defines the resolution of the system tick counter in ticks per second. It establishes the time base for the value returned by the arGetTickCount function. A value of 1000 is recommended, which corresponds to a tick interval of 1 millisecond. If higher precision is required, this value must be adjusted accordingly. Please note that all time duration arguments passed to system functions (such as osSleep or osWaitForObject) are expressed in the time units defined by this constant.

Version:1.0
Header file:AR_Types.h (include AR_API.h)
See also: arGetTickCount, osSleep, osWaitForObject, TIME, time management
SpaceShadow documentation