Commit 467931d9b79e3122aacb1fe4270b32963a41886d
authorSami Liedes <sliedes@cc.hut.fi>
Fri, 4 Feb 2011 22:26:54 +0000 (00:26 +0200)
committerSami Liedes <sliedes@cc.hut.fi>
Fri, 4 Feb 2011 22:38:54 +0000 (00:38 +0200)
tree8206980940cdc809a2d8ad8dbfc103dab900b582
parent8c526abb7d8c2a0bacddf38a0c187738a6c0bf9a
Message:
Use ffs() for finding timers from cycle timer map.

This optimization speeds up avr_cycle_timer_process() considerably. It
used to be a major bottleneck in my test case (52% of CPU time spent
in that routine), now it's about half that.
simavr/sim/sim_cycle_timers.c