From 1d0e132d78ee6c66a119c1d12aaa83eca4da326e 2018-10-08 17:23:52 From: ammarmallik Date: 2018-10-08 17:23:52 Subject: [PATCH] Update comments issue#11375 --- diff --git a/IPython/utils/timing.py b/IPython/utils/timing.py index 6bb176f..9a31aff 100644 --- a/IPython/utils/timing.py +++ b/IPython/utils/timing.py @@ -58,12 +58,12 @@ try: return resource.getrusage(resource.RUSAGE_SELF)[:2] except ImportError: # There is no distinction of user/system time under windows, so we just use - # time.clock() for everything... + # time.perff_counter() for everything... clocku = clocks = clock = time.perf_counter def clock2(): """Under windows, system CPU time can't be measured. - This just returns clock() and zero.""" + This just returns perf_counter() and zero.""" return time.perf_counter(),0.0