Skip to content

Commit b5d1df7

Browse files
committed
delete legacy code
1 parent 39d08b6 commit b5d1df7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

afy/utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,6 @@ def tocp(self, str):
7070
log(f"{str} took {t:.4f}ms")
7171
return t
7272

73-
@staticmethod
74-
def print(name=''):
75-
log(f'\n=== {name} Timimg ===')
76-
for fn, times in self.timing.items():
77-
min, max, mean, p95 = np.min(times), np.max(times), np.mean(times), np.percentile(times, 95)
78-
log(f'{fn}:\tmin: {min:.4f}\tmax: {max:.4f}\tmean: {mean:.4f}ms\tp95: {p95:.4f}ms')
79-
8073

8174
class AccumDict:
8275
def __init__(self, num_f=3):

0 commit comments

Comments
 (0)