Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions crates/core_affinity2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,7 @@ impl Cores {

// ./fuzzer --cores all -> one client runs in each available core
if args == "all" {
// TODO: is this really correct? Core ID != core number?
let num_cores = get_core_ids()?.len();
for x in 0..num_cores {
cores.push(x.into());
}
cores = get_core_ids()?;
} else {
let core_args: Vec<&str> = args.split(',').collect();

Expand Down
Loading