cvtools.utils.timer module

Timing related functions.

class cvtools.utils.timer.Timer[源代码]

基类:object

A simple timer.

reset()[源代码]
tic()[源代码]
toc(average=True)[源代码]
cvtools.utils.timer.get_human_time()[源代码]
cvtools.utils.timer.get_time_str(form='%Y%m%d_%H%M%S')[源代码]

for example form='%Y%m%d_%H%M%S_%f'

cvtools.utils.timer.get_timestamp_str()[源代码]