From 363c901ca227f486bf1179dfcc13228774052f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 30 Dec 2023 19:32:09 +0100 Subject: [PATCH] bencher: add note in run.rs about stats for multiple threads --- crates/bencher/src/run.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/bencher/src/run.rs b/crates/bencher/src/run.rs index d556e41..09573e0 100644 --- a/crates/bencher/src/run.rs +++ b/crates/bencher/src/run.rs @@ -84,6 +84,8 @@ impl RunConfig { ::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") .arg("-p") .arg(tracker.0.id().to_string())