计算程序运行时间:计算程序时间的方法

voidtime_one() { LARGE_INTEGERone; LARGE_INTEGERtwo; LARGE_INTEGERfreq; QueryPerformanceFrequency(&freq); QueryPerformanceCounter(&one); for(inti=0;i1000000000;i++) { } QueryPerformanceCounter(&two); ... [阅读全文]
1 共1条 分1页