Closed yunsonbai closed 8 years ago
clear
will actually reset the timer.
So you want either to use in a context manager or using update
:
timer = Metrology.timer('responses')
with timer:
do_something()
I first use clear. then I use the update, but the timer.min has not changed, always 0
i use the tMetrology.timer('sss') after i use timer.clear(), the timer.min=0 always, No change