开发者

Performance impact of QueryPerformanceCounter

开发者 https://www.devze.com 2023-03-22 04:57 出处:网络
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 o

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

精彩评论

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

关注公众号