Latest changes for error and perf checking

This commit is contained in:
Danny Staple
2023-01-28 21:32:02 +00:00
parent a4f71ef889
commit 416bb52ebf
4 changed files with 63 additions and 35 deletions
@@ -16,6 +16,8 @@ class PerformanceCounter:
self.count += 1
def per_call(self):
if self.count == 0:
return 0
return self.total_time / self.count
def total_call_time(self):