time_taken#
- timing.time_taken(start_time, end_time)#
Format the time taken into hours, minutes and seconds.
- Parameters:
start_time (float) – The start time, in milliseconds. Can be gotten from current_milli_time()
end_time (float) – The end time, in milliseconds. Can be gotten from current_milli_time()
- Returns:
The time passed between start and end time in format: xx-hrs xxm xx.xxs. Where x is replaced with actual values
- Return type:
time_taken
- Raises:
ValueError: – If end_time - start_time is less than, or equal to, 0