bencher: add note in run.rs about stats for multiple threads

This commit is contained in:
Joakim Frostegård 2023-12-30 19:32:09 +01:00
parent 858cea143a
commit 363c901ca2

View file

@ -84,6 +84,8 @@ impl<C> RunConfig<C> {
::std::thread::sleep(Duration::from_secs(1)); ::std::thread::sleep(Duration::from_secs(1));
} }
// Note: a more advanced version tracking threads too would add argument
// "-L" and add "comm" to output format list
let tracker_process_stats_res = Command::new("ps") let tracker_process_stats_res = Command::new("ps")
.arg("-p") .arg("-p")
.arg(tracker.0.id().to_string()) .arg(tracker.0.id().to_string())