(以及它使用了多少CPU时间,并将为您计算MIPS )。
Performance counter stats for '.7.23% of all LL-cache hits [26.26%]
Q如何从perf stat的输出中正确地计算为了计算MIPS,我应该根据从instructions/seconds_time_elapsed获得的值跟随
我正在尝试做一个游戏仿真器,但它的播放速度比它应该更快。if (cpu.T >= CLOCKSPEED / 40) // if more than 1/40th of cycles passed // Get milliseconds passed unsigned long long counter = EndCounter.QuadPart - LastCounter.QuadPart;
MSperFrame = 1000.0f