Function windows_win::raw::timer::query_performance_frequency
source · pub fn query_performance_frequency() -> Result<i64>
Expand description
Retrieves the frequency of the performance counter.
The frequency of the performance counter is fixed at system boot and is consistent across all processors. Therefore, the frequency need only be queried upon application initialization, and the result can be cached.