Clock class
Examples:
>>> clock = Clock(start=0.0, stop=1.0, dt=0.1)
>>> @clock.tick
>>> def tick(time):
... print 'timer tick at time %.3f' % time
>>> clock.run()
Run the clock.
Parameters
Clock stop time.
Reset clock
Remove all timers
Add a new timer to the timer list
Parameters
Remove a given timer from the timer list
Parameters
Notes
A same function can be added with several different timesteps. It is this necessary to specify which timer (using timestep) is to be removed.
Current time
Clock start time
Clock resolution.