Author: hbelusca
Date: Sun Oct 26 02:38:07 2014
New Revision: 65005
URL:
http://svn.reactos.org/svn/reactos?rev=65005&view=rev
Log:
[NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of them
are *LONGLONG).
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 26 02:38:07 2014
@@ -149,7 +149,7 @@
#ifdef IPS_DISPLAY
if ((CurrentTickCount - LastCyclePrintout) >= 1000)
{
- DPRINT1("NTVDM: %lu Instructions Per Second; TimerTicks = %I64d\n",
Cycles * 1000 / (CurrentTickCount - LastCyclePrintout), TimerTicks);
+ DPRINT1("NTVDM: %I64u Instructions Per Second; TimerTicks = %I64d\n",
Cycles * 1000 / (CurrentTickCount - LastCyclePrintout), TimerTicks);
LastCyclePrintout = CurrentTickCount;
Cycles = 0;
}