zero.time.Timer.__call__

Timer.__call__()[source]

Get time elapsed since the start.

If the timer is just created/reset, the shift is returned (can be negative!). Otherwise, now - start_time + shift is returned. The shift includes total pause time (including the current pause, if the timer is on pause) and all manipulations by add and sub.

Returns

Time elapsed.

Return type

float