Utils Timer

inyoka.utils.timer

copyright:
  1. 2007-2024 by the Inyoka Team, see AUTHORS for more details.

license:

BSD, see LICENSE for more details.

class inyoka.utils.timer.StopWatch

Very simple timer abstraction

property duration

Return the duration of the call.

If stop was not called yet return the duration from start untill now.

start()
stop()