Search Microsoft.com
Explore
"queryperformancecounter"
QueryPerformanceCounter function - Win32 apps | Microsoft Learn
Retrieves the current value of the performance counter, which is a high resolution (<1µs) time stamp that can be used for time-interval measurements.
KeQueryPerformanceCounter function (ntifs.h) - Windows drivers
The KeQueryPerformanceCounter routine retrieves the current value and frequency of the performance counter. Use KeQueryPerformanceCounter to acquire high...
QueryPerformanceFrequency function - Win32 apps | Microsoft Learn
Retrieves the frequency of the performance counter.
Acquiring high-resolution time stamps - Win32 apps
Windows provides APIs that you can use to acquire high-resolution time stamps, or measure time intervals. The primary API for native code is...
Profileapi.h header - Win32 apps | Microsoft Learn
This header is used by System Services. For more information, see: System Services profileapi.h contains the following programming interfaces:
Game Timing and Multicore Processors - Win32 apps
This article suggests a more accurate, reliable solution to obtain high-resolution CPU timings by using the Windows APIs QueryPerformanceCounter and...
Can (and/or should) QueryPerformanceCounter return negative timestamps ...
We were under the impression that QueryPerformanceCounter could return negative, but increasing, timestamps. However, some searching online suggests that on...
NtQueryPerformanceCounter function - Win32 apps | Microsoft Learn
Use the QueryPerformanceCounter and QueryPerformanceFrequency functions instead.] Returns the current value of a performance counter and, optionally, the...
QueryPerformanceCounter (Windows CE 3.0) | Microsoft Learn
This function retrieves the current value of the high-resolution performance counter if one is provided by the OEM.
Can QueryPerformanceCounter return negative timestamps?
We were under the impression that QueryPerformanceCounter could return negative, but increasing, timestamps. However, some searching online suggests that on...
Performance Counters - Win32 apps | Microsoft Learn
Use Windows Performance Counters to collect system data such as CPU, memory, and disk usage to identify performance bottlenecks and fine tune performance.
Can't find what you're looking for?
Search tips
- Make sure all words are spelled correctly.
- Try different keywords.
- Search the web with Bing