fbxsdk/core/sync/fbxclock.h File Reference

fbxclock.h File Reference

Functions

FBXSDK_DLL void FbxSleep (int pMilliseconds)
 Put the current thread to sleep. More...
 
FBXSDK_DLL FbxLongLong FbxGetHighResCounter ()
 Retrieves the current value of the high-resolution performance counter. More...
 
FBXSDK_DLL FbxLongLong FbxGetHighResFrequency ()
 Retrieves the frequency of the high-resolution performance counter. More...
 

Function Documentation

FBXSDK_DLL void FbxSleep ( int  pMilliseconds)

Put the current thread to sleep.

Parameters
pMillisecondsThe duration of the sleep in milli-seconds.
FBXSDK_DLL FbxLongLong FbxGetHighResCounter ( )

Retrieves the current value of the high-resolution performance counter.

Returns
The current value of the high-resolution performance counter, in "counts".
Remarks
To convert "counts" into time, divide it by the frequency available from FbxGetHighResFrequency().
FBXSDK_DLL FbxLongLong FbxGetHighResFrequency ( )

Retrieves the frequency of the high-resolution performance counter.

Returns
The frequency of the high-resolution performance counter value, in "counts" per second.
Remarks
The first time this function is called, the frequency is queried from the system and then cached so that further requests are fast. This means it is guaranteed to not change during run-time.

Go to the source code of this file.