snakemake.benchmark.BenchmarkRecord
- class snakemake.benchmark.BenchmarkRecord(running_time=None, max_rss=None, max_vms=None, max_uss=None, max_pss=None, io_in=None, io_out=None, cpu_usages=None, cpu_time=None)[source]
Record type for benchmark times
- __init__(running_time=None, max_rss=None, max_vms=None, max_uss=None, max_pss=None, io_in=None, io_out=None, cpu_usages=None, cpu_time=None)[source]
Methods
__init__
([running_time, max_rss, max_vms, ...])get_header
()to_tsv
()Return
str
with the TSV representation of this recordAttributes
running_time
Running time in seconds
max_vms
Maximal VMS in MB
max_uss
Maximal USS in MB
max_pss
Maximal PSS in MB
io_in
I/O read in bytes
io_out
I/O written in bytes
cpu_usages
Count of CPU seconds, divide by running time to get mean load estimate
cpu_time
CPU usage (user and system) in seconds
first_time
First time when we measured CPU load, for estimating total running time
prev_time
Previous point when measured CPU load, for estimating total running time
processed_procs
Set with procs that has been skipped
skipped_procs
Set with procs that has been saved
data_collected
Track if data has been collected