有没有一种方法可以衡量在Visual C ++中我的C ++代码的特定部分花费了多少时间?
Do you need it for debug only or do you need it for the application you are making? I can tell you a technique for debug only:
$clk
variable. $clk
variable has the time elapsed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.