Author: hbelusca
Date: Sun Oct 19 17:24:57 2014
New Revision: 64828
URL:
http://svn.reactos.org/svn/reactos?rev=64828&view=rev
Log:
[NTVDM]: fix MIPS count in cases display delays get longer than 1 sec...
Modified:
trunk/reactos/subsystems/ntvdm/clock.c
Modified: trunk/reactos/subsystems/ntvdm/clock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/clock.c?r…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/clock.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/clock.c [iso-8859-1] Sun Oct 19 17:24:57 2014
@@ -149,7 +149,7 @@
#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;
}