mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
[NTVDM]: Add debug print for timer ticks to try to find why the emulator sometimes hangs...
svn path=/branches/ntvdm/; revision=61867
This commit is contained in:
parent
03d8479401
commit
f2a98176d6
|
@ -331,7 +331,7 @@ INT wmain(INT argc, WCHAR *argv[])
|
||||||
#ifdef IPS_DISPLAY
|
#ifdef IPS_DISPLAY
|
||||||
if ((CurrentTickCount - LastCyclePrintout) >= 1000)
|
if ((CurrentTickCount - LastCyclePrintout) >= 1000)
|
||||||
{
|
{
|
||||||
DPRINT1("NTVDM: %lu Instructions Per Second\n", Cycles);
|
DPRINT1("NTVDM: %lu Instructions Per Second; TimerTicks = %lu\n", Cycles, TimerTicks);
|
||||||
LastCyclePrintout = CurrentTickCount;
|
LastCyclePrintout = CurrentTickCount;
|
||||||
Cycles = 0;
|
Cycles = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue