mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 19:47:14 +00:00
[NTVDM]: fix MIPS count in cases display delays get longer than 1 sec...
svn path=/trunk/; revision=64828
This commit is contained in:
parent
fabcc9ac05
commit
aa15945793
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ VOID ClockUpdate(VOID)
|
|||
#ifdef IPS_DISPLAY
|
||||
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;
|
||||
Cycles = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue