fbxsdk/core/sync/fbxclock.h File Reference
 
 
 
fbxsdk/core/sync/fbxclock.h File Reference

File Description

Definition in file fbxclock.h.

Functions

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

Function Documentation

FBXSDK_DLL void FbxSleep ( int  pMilliseconds )

Put the current thread to sleep.

Parameters:
pMilliseconds The 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.