This commit is contained in:
yumoqing 2022-10-08 12:30:41 +08:00
parent ee017d6aa0
commit 9d0dc1cccc
2 changed files with 9 additions and 1 deletions

View File

@ -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 ....')

View File

@ -1 +1 @@
__version__ = '5.1.21'
__version__ = '5.1.22'