[][src]Function linux::syscall::getcpu

pub fn getcpu(cpu: Option<&mut c_uint>, node: Option<&mut c_uint>) -> c_int

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

[argument, cpu] Place where the CPU will be stored.

[argument, node] Place where the NUMA node will be stored.

= See also

  • link:man:getcpu(2)