Functions | |
enum YepStatus | yepLibrary_GetTimerTicks (Yep64u *ticks) |
Returns the number of ticks of the high-resolution system timer. More... | |
enum YepStatus | yepLibrary_GetTimerFrequency (Yep64u *frequency) |
Returns the number of ticks of the system timer per second. More... | |
enum YepStatus | yepLibrary_GetTimerAccuracy (Yep64u *accuracy) |
Returns the minimum time difference in nanoseconds which can be measured by the high-resolution system timer. More... | |
Returns the number of ticks of the high-resolution system timer.
[out] | ticks | Pointer to a variable where the number of timer ticks will be stored. If the function fails, the value of the variable at this address is not changed. |
YepStatusOk | The number of timer ticks is successfully stored to the variable pointed by ticks parameter. |
YepStatusNullPointer | The ticks pointer is null. |
YepStatusSystemError | An attempt to read the high-resolution timer failed inside the OS kernel. |
Returns the number of ticks of the system timer per second.
[out] | frequency | Pointer to a variable where the number of timer ticks per second will be stored. |
YepStatusOk | The number of timer ticks is successfully stored to the variable pointed by frequency parameter. |
YepStatusNullPointer | The frequency pointer is null. |
YepStatusSystemError | An attempt to query the high-resolution timer parameters failed inside the OS kernel. |
Returns the minimum time difference in nanoseconds which can be measured by the high-resolution system timer.
[out] | accuracy | Pointer to a variable where the timer accuracy will be stored. |
YepStatusOk | The accuracy of the timer is successfully stored to the variable pointed by accuracy parameter. |
YepStatusNullPointer | The accuracy pointer is null. |
YepStatusSystemError | An attempt to measure the accuracy of high-resolution timer failed inside the OS kernel. |