|
-
December 30th, 2011, 11:44 AM
#1
How to accurately time process execution
Hi, is it possible to more accurately determine the performance of my code as opposed to GetTickCount or higher resolutions versions such as QueryPerformanceCounter?
The problem with GetTickCount is that it only measures the absolute time my code takes to execute which can be can be distorted by background processing and is therefore not a completely accurate measure i.e. it serves as a guide only. Higher resolution timers don't fix this eg QueryPerformanceCounter. So how can I determine the CPU time that my process used to execute (independently to all other processes running in the background)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|