From 375d066bd09171dba6839a19dc3c12d92192f8af 2018-10-15 23:27:27 From: ammarmallik Date: 2018-10-15 23:27:27 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