File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 33import pandas as pd
44
55KEY = "Elapsed seconds"
6- BASE_METRICS = ["CPU (%)" , "MEM (%)" , " Real (MB)" ]
6+ BASE_METRICS = ["CPU (%)" , "Real (MB)" ]
77branch_order = []
88merged = None
99
Original file line number Diff line number Diff line change 55import pandas as pd
66
77KEY = "Elapsed seconds"
8- BASE_METRICS = ["CPU (%)" , "MEM (%)" , " Real (MB)" ]
8+ BASE_METRICS = ["CPU (%)" , "Real (MB)" ]
99SAMPLE_INTERVAL_SECS = 1
1010
1111if len (sys .argv ) != 2 or not sys .argv [1 ].isdigit ():
3333
3434 elapsed_secs = int (time .time () - start )
3535 cpu = proc .cpu_percent (None )
36- mem_pct = proc .memory_percent ()
3736 meminfo = proc .memory_info ()
3837 bytes_in_MB = 1024 ** 2
3938 rss_mb = meminfo .rss / bytes_in_MB
4241 [
4342 str (elapsed_secs ),
4443 f"{ cpu :.3f} " ,
45- f"{ mem_pct :.3f} " ,
4644 f"{ rss_mb :.3f} " ,
4745 ]
4846 )
You can’t perform that action at this time.
0 commit comments