summaryrefslogtreecommitdiff
path: root/cli/bench/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r--cli/bench/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index 0443e4f0c..d3f00ee2c 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -340,7 +340,7 @@ fn run_strace_benchmarks(
file.as_file_mut().read_to_string(&mut output)?;
let strace_result = test_util::parse_strace_output(&output);
- let clone = strace_result.get("clone").map(|d| d.calls).unwrap_or(0);
+ let clone = strace_result.get("clone").map(|d| d.calls).unwrap_or(0) + 1;
let total = strace_result.get("total").unwrap().calls;
thread_count.insert(name.to_string(), clone);
syscall_count.insert(name.to_string(), total);