开发者

Performance impact of QueryPerformanceCounter

Is there a performance impact from calling QueryPerforma开发者_C百科nceCounter over a less high-resolution timing method in Windows?


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').

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜