QueryPerformanceFrequency function kernel32

int QueryPerformanceFrequency(
  1. Pointer<Int64> lpFrequency
)

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.

BOOL QueryPerformanceFrequency(
  LARGE_INTEGER *lpFrequency
);

Implementation

int QueryPerformanceFrequency(Pointer<Int64> lpFrequency) =>
    _QueryPerformanceFrequency(lpFrequency);