diff options
Diffstat (limited to 'algorithms/timer.py')
-rw-r--r-- | algorithms/timer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/algorithms/timer.py b/algorithms/timer.py index bd5d044..c567a3f 100644 --- a/algorithms/timer.py +++ b/algorithms/timer.py @@ -6,9 +6,11 @@ import gc import time + def get_timestamp(): return time.perf_counter() + class Timer: def __init__(self, dest, iterations=1): self._dest = dest |