Store the next cycle count where the earliest cycle timer needs to be run.
authorSami Liedes <sliedes@cc.hut.fi>
Tue, 15 Feb 2011 23:21:38 +0000 (01:21 +0200)
committerSami Liedes <sliedes@cc.hut.fi>
Tue, 15 Feb 2011 23:21:38 +0000 (01:21 +0200)
commit199a5e98393ec3151eec2464cf97f23ebb65740f
tree6342fe8dbcf16c86aedb67ba751bff80a919a076
parent0fc01c9ab7f8ab9d4c4f79fa0a2ee13e927324f3
Store the next cycle count where the earliest cycle timer needs to be run.
This speeds up cycle timer processing significantly and almost doubles
the speed of the overall simulation.

Signed-off-by: Sami Liedes <sliedes@cc.hut.fi>
simavr/sim/sim_avr.h
simavr/sim/sim_cycle_timers.c