aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/statistics.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/statistics.py')
-rw-r--r--klippy/extras/statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/statistics.py b/klippy/extras/statistics.py
index 641396a3..d9c0a367 100644
--- a/klippy/extras/statistics.py
+++ b/klippy/extras/statistics.py
@@ -23,7 +23,7 @@ class PrinterSysStats:
self.mem_file = None
def stats(self, eventtime):
# Get core usage stats
- ptime = time.clock()
+ ptime = time.process_time()
pdiff = ptime - self.last_process_time
self.last_process_time = ptime
if pdiff > 0.: