diff --git a/time/time.py b/time/time.py index f311433a..6c5dcf59 100644 --- a/time/time.py +++ b/time/time.py @@ -24,3 +24,9 @@ def strftime(format, t=None): buf = bytearray(32) l = strftime_(buf, 32, format, tm_p) return str(buf[:l], "utf-8") + +def perf_counter(): + return time() + +def process_time(): + return clock()