query_performance_counter


bool query_performance_counter(ulong* performance_count)

This function queries the value and existence of a high resolution counter.

Parameters

ulong* performance_count

A pointer to a variable that is updated to hold the performance count. If high resolution counter hardware does not exist, the variable is set to zero. This parameter may be set to null when determining the existence of high resolution counter hardware.

Return

bool

true High resolution counter hardware is installed.
false High resolution counter hardware is not installed.