Reputation: 40947
Is there a performance impact from calling QueryPerformanceCounter over a less high-resolution timing method in Windows?
Upvotes: 3
Views: 5225
Reputation: 26171
Although old, this Dr Dobb's article gives a nice summary of your options and their costs, pros and cons (see the tables right at the end), including QPC.
TBH, to get real timings for your situation, use a profiler (like AMD's CodeAnalyst) or something like Dr Fog's performance monitor(site, which also has some other things of use, depend how far you want to go into the hole of 'how much will this call/instruction/action cost').
Upvotes: 6