Crate free_cpus

Source
Expand description

This crate exports a utility function that returns the set of available core IDs on the machine.

The set is determined by iterating over the /proc directory’s process statuses. The logic is heavily inspired by AFL++’s code.

Functions§

get
Returns the set of available core IDs in your Linux machine.