summaryrefslogtreecommitdiff
path: root/scripts/profiling/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/profiling/util.py')
-rw-r--r--scripts/profiling/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/profiling/util.py b/scripts/profiling/util.py
index adf1de8c..e7e2ef9a 100644
--- a/scripts/profiling/util.py
+++ b/scripts/profiling/util.py
@@ -46,7 +46,7 @@ class StatsLogger(threading.Thread):
stats = []
stats.append("%f" % (now - self._start)) # elapsed time
stats.append("%f" % psutil.cpu_percent()) # total cpu
- stats.append("%f" % psutil.phymem_usage().percent) # total memory
+ stats.append("%f" % psutil.virtual_memory().percent) # total memory
return ' '.join(stats)
def _make_proc_stats(self):