shadow_rs::core::cpu

Function core

source
pub fn core(cpu: u32) -> u32
Expand description

Get the core ID from /sys/devices/system/cpu/cpu{cpu}/topology/core_id.