glfwGetTimerValue

Function glfwGetTimerValue 

Source
pub unsafe extern "C" fn glfwGetTimerValue() -> u64
Expand description

@brief Returns the current value of the raw timer.

This function returns the current value of the raw timer, measured in 1 / frequency seconds. To get the frequency, call @ref glfwGetTimerFrequency.

@return The value of the timer, or zero if an [error](@ref error_handling) occurred.

@errors Possible errors include @ref GLFW_NOT_INITIALIZED.

@thread_safety This function may be called from any thread.

@sa @ref time @sa @ref glfwGetTimerFrequency

@since Added in version 3.2.

@ingroup input