More BACKTRACK tweaks (no effect on compiled releases)

This commit is contained in:
Jeff Parsons 2014-12-30 17:32:18 -08:00 committed by jeffpar
commit 187318cebb
29 changed files with 124 additions and 106 deletions

View file

@ -849,7 +849,7 @@ CPU.prototype.calcStartTime = function()
*
* This also won't do anything about other internal delays; for example, Debugger message() calls.
* By the time the message() function has called yieldCPU(), the cost of the message has already been
* incurred, so it will be end up being charged against the instruction(s) that triggered them.
* incurred, so it will be end up being charged against the instruction(s) that triggered it.
*
* TODO: Consider calling yieldCPU() sooner from message(), so that it can arrange for the msEndThisRun
* "snapshot" to occur sooner; it's unclear, however, whether that will really improve the CPU's ability