[NTVDM]: fix MIPS count in cases display delays get longer than 1 sec...

svn path=/trunk/; revision=64828
This commit is contained in:
Hermès Bélusca-Maïto 2014-10-19 17:24:57 +00:00
parent fabcc9ac05
commit aa15945793

View file

@ -149,7 +149,7 @@ VOID ClockUpdate(VOID)
#ifdef IPS_DISPLAY #ifdef IPS_DISPLAY
if ((CurrentTickCount - LastCyclePrintout) >= 1000) if ((CurrentTickCount - LastCyclePrintout) >= 1000)
{ {
DPRINT1("NTVDM: %lu Instructions Per Second; TimerTicks = %I64d\n", Cycles, TimerTicks); DPRINT1("NTVDM: %lu Instructions Per Second; TimerTicks = %I64d\n", Cycles * 1000 / (CurrentTickCount - LastCyclePrintout), TimerTicks);
LastCyclePrintout = CurrentTickCount; LastCyclePrintout = CurrentTickCount;
Cycles = 0; Cycles = 0;
} }