The QueryPerformanceCounter function retrieves the current value of the high-resolution performance counter.
If the function succeeds, the return value is true.
If the function fails, the return value is false. To get extended error information, call GetLastWin32Error.
On a multiprocessor machine, it should not matter which processor is called. However, you can get different results on different processors due to bugs in the BIOS or the HAL. To specify processor affinity for a thread, use the SetThreadAffinityMask function.
Kernel Class | Tao.Platform.Windows Namespace | QueryPerformanceCounterFast | QueryPerformanceFrequency