1
0
Fork 0

Need this quite often.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3877
This commit is contained in:
Peter Veenstra 2015-01-06 14:10:23 +00:00
parent f06067e101
commit 89f844c7b8

View file

@ -202,6 +202,14 @@ increaseticks:
if (new_cmax<CPU_CYCLES_LOWER_LIMIT)
new_cmax=CPU_CYCLES_LOWER_LIMIT;
/*
LOG_MSG("cyclelog: current %6d cmax %6d ratio %5d done %3d sched %3d",
CPU_CycleMax,
new_cmax,
ratio,
ticksDone,
ticksScheduled);
*/
/* ratios below 1% are considered to be dropouts due to
temporary load imbalance, the cycles adjusting is skipped */
if (ratio>10) {