scx/rust
Andrea Righi 872e653cd2 scx_utils: introduce Turbo core type to Topology
Integrate the logic used by scx_bpfland to detect turbo-boosted cores in
Topology.

Also change the logic to detect Big/Little cores in function of
base_frequency, instead of scaling_max_freq, otherwise turbo-boosted
cores in homogeneous systems may be incorrectly classified as Big.

Moreover, introduce the following new methods to Cpu to check for the
core type:
 - is_turbo(): return true if the CPU is Turbo, false otherwise
 - is_big(): return true if the CPU is either Turbo or Big
 - is_little(): return true if the CPU is Little

Signed-off-by: Andrea Righi <andrea.righi@linux.dev>
2024-08-28 00:09:08 +02:00
..
scx_rustland_core scx_rustland_core: update README.md with a FIFO example 2024-08-26 17:42:51 +02:00
scx_stats build: Use workspace to group rust sub-projects 2024-08-25 00:47:58 -10:00
scx_utils scx_utils: introduce Turbo core type to Topology 2024-08-28 00:09:08 +02:00
.gitignore build: Use workspace to group rust sub-projects 2024-08-25 00:47:58 -10:00
Cargo.toml build: Use workspace to group rust sub-projects 2024-08-25 00:47:58 -10:00