Merge branch 'timer' into pypy

This commit is contained in:
James Tauber 2011-08-15 23:43:12 -04:00
commit 493236e06f

View File

@ -386,7 +386,7 @@ class Apple2:
if self.speaker: if self.speaker:
self.speaker.update(cycle) self.speaker.update(cycle)
update_cycle = 0 update_cycle = 0
print (cycle - last_update_cycle_cycles) / (time.time() - last_update_cycle_time) print "%d\r" % ((cycle - last_update_cycle_cycles) / (time.time() - last_update_cycle_time)),
last_update_cycle_time = time.time() last_update_cycle_time = time.time()
last_update_cycle_cycles = cycle last_update_cycle_cycles = cycle