We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9f24b commit 1c128ccCopy full SHA for 1c128cc
collector/src/compile/execute/mod.rs
@@ -189,7 +189,8 @@ fn run_on_p_cores(path: &Path, cpu_list: &str) -> Command {
189
let core_end: u32 = core_end
190
.parse()
191
.expect("Expected a number when parsing the end of the P-core list!");
192
- let core_count = core_end - core_start;
+ let core_count = core_end - core_start + 1; // e.g. "0-3" is four cores: [0, 1, 2, 3]
193
+
194
let mut cmd = Command::new("taskset");
195
// Set job count to P-core count. This is done for 3 reasons:
196
// 1. The instruction count info for E-cores is often incomplete, and a substantial chunk of
0 commit comments