- Main Page
- Classes
- Files
- Directories

- File List
- File Members

Functions

# fbxclock.h File Reference

`#include <fbxsdk/fbxsdk_def.h>`
`#include <fbxsdk/fbxsdk_nsbegin.h>`
`#include <fbxsdk/fbxsdk_nsend.h>`

Go to the source code of this file.

## 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.

## Detailed Description

Definition in file fbxclock.h.

## Function Documentation

FBXSDK_DLL void FbxSleep | ( | int | pMilliseconds | ) |

Search for all occurrences

Put the current thread to sleep.

Parameters:

  pMilliseconds | The duration of the sleep in milli-seconds.

FBXSDK_DLL FbxLongLong FbxGetHighResCounter | ( |  | ) |

Search for all occurrences

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 | ( |  | ) |

Search for all occurrences

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.