Need this quite often.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3877
This commit is contained in:
parent
f06067e101
commit
89f844c7b8
1 changed files with 8 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue