diff --git a/nix/tools/merge_monitor_result.py b/nix/tools/merge_monitor_result.py index 2a6adcb76..f96d3283d 100644 --- a/nix/tools/merge_monitor_result.py +++ b/nix/tools/merge_monitor_result.py @@ -3,7 +3,7 @@ import sys import pandas as pd KEY = "Elapsed seconds" -BASE_METRICS = ["CPU (%)", "MEM (%)", "Real (MB)"] +BASE_METRICS = ["CPU (%)", "Real (MB)"] branch_order = [] merged = None diff --git a/nix/tools/monitor_pid.py b/nix/tools/monitor_pid.py index 07a175e95..bee6d8c56 100644 --- a/nix/tools/monitor_pid.py +++ b/nix/tools/monitor_pid.py @@ -5,7 +5,7 @@ import psutil import pandas as pd KEY = "Elapsed seconds" -BASE_METRICS = ["CPU (%)", "MEM (%)", "Real (MB)"] +BASE_METRICS = ["CPU (%)", "Real (MB)"] SAMPLE_INTERVAL_SECS = 1 if len(sys.argv) != 2 or not sys.argv[1].isdigit(): @@ -33,7 +33,6 @@ while True: elapsed_secs = int(time.time() - start) cpu = proc.cpu_percent(None) - mem_pct = proc.memory_percent() meminfo = proc.memory_info() bytes_in_MB = 1024**2 rss_mb = meminfo.rss / bytes_in_MB @@ -42,7 +41,6 @@ while True: [ str(elapsed_secs), f"{cpu:.3f}", - f"{mem_pct:.3f}", f"{rss_mb:.3f}", ] )