Basic timing class.
Unit of time is milliseconds.
Methods
Create a clock.
Parameters : | sync_clock : misc.Clock, optional
|
---|
Getter for CPU time.
Getter for init time in local time
Getter for init time in milliseconds.
“Reset the stopwatch.
The use of the stopwatch does not affect the clock time.
Getter for time in milliseconds since last reset_stopwatch.
The use of the stopwatch does not affect the clock time.
Getter for current time in milliseconds since clock init.
Wait for a certain amout of milliseconds.
Parameters : | waiting_time : int
function : function, optional
|
---|
Wait for a certain amount of minutes (see also wait() ).
Parameters : | time_minutes : int
function : function, optional
|
---|
Wait for a certain amout of seconds (see also wait() ).
Parameters : | time_sec : int
function : function, optional
|
---|