Function lrs::syscall::getcpu

Retrieves the CPU and NUMA node this thread is running one.

Syntax

fn getcpu(cpu: Option<&mut u32>, node: Option<&mut u32>) -> i32

Arguments

NameDescription
cpu

Place where the CPU will be stored.

node

Place where the NUMA node will be stored.

See also