Author: hbelusca Date: Sat Oct 25 15:36:11 2014 New Revision: 64985
URL: http://svn.reactos.org/svn/reactos?rev=64985&view=rev Log: [NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number of instructions per second :)
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?re... ============================================================================== --- trunk/reactos/subsystems/ntvdm/clock.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/ntvdm/clock.c [iso-8859-1] Sat Oct 25 15:36:11 2014 @@ -56,7 +56,7 @@
#ifdef IPS_DISPLAY DWORD LastCyclePrintout; - DWORD Cycles = 0; + ULONGLONG Cycles = 0; #endif
/* PUBLIC FUNCTIONS ***********************************************************/ @@ -142,7 +142,7 @@ { CpuStep(); #ifdef IPS_DISPLAY - Cycles++; + ++Cycles; #endif }