Title - QueryPerformanceCounter and GetTickCount functions , A Performance Tuning method
Tip - QueryPerformanceCounter() / GetTickCount() can be used to get the timing of each function. Based on that we can tune the performance.
Details - The QueryPerformanceCounter Retrieves the current value of the high-resolution performance counter. But on a multiprocessor computer, it should not matter which processor is called. However, you can get different results on different processors due to bugs in the basic input/output system (BIOS) or the hardware abstraction layer (HAL). So in that case we can use GetTickCount functionality. But the precision of GetTickCount is limited to milliseconds.
Reference :
Posted By : Febil Chacko
No comments:
Post a Comment