bugfix
This commit is contained in:
parent
ee017d6aa0
commit
9d0dc1cccc
@ -26,6 +26,14 @@ class TimeCost:
|
||||
return 0,0,0
|
||||
return len(x), sum(x), sum(x)/len(x)
|
||||
|
||||
@classmethod
|
||||
def clear_all(self):
|
||||
timerecord = {}
|
||||
|
||||
@classmethod
|
||||
def clear(self, name):
|
||||
timerecord[name] = []
|
||||
|
||||
@classmethod
|
||||
def show(self):
|
||||
print('TimeCost ....')
|
||||
|
@ -1 +1 @@
|
||||
__version__ = '5.1.21'
|
||||
__version__ = '5.1.22'
|
||||
|
Loading…
Reference in New Issue
Block a user