The Python time module only clock is deprecated in Python 3.3 and will be removed in Python 3.8

The Python time module only clock is deprecated in Python 3.3 and will be removed in Python 3.8

Use time.clock() to report a warning in Python 3.7

DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead

time.clock()

Returns the current CPU time in seconds calculated as a floating point number, used to measure the time-consuming of different programs, more useful than time.time()

Python 3.3 and later is deprecated. This method depends on the operating system. It is recommended to use per_counter (returns the system running time) or

process_time (returns the process running time) instead