Replace time.clock by time.process_time
Python 3.8 has deprecated time.clock()
in favor of time.process_time()
. After having been deprecated for a while. This MR replaces that.
https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals