Function shadow_rs::core::cpu::core

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

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