cpu_get_rad - Queries the RAD associated with a CPU (libnuma
library)
#include <numa.h>
radid_t cpu_get_rad(
cpuid_t cpu );
Identifies the CPU for which the associated RAD is
requested.
The cpu_get_rad() function returns the identifier of the
Resource Affinity Domain (RAD) associated with the CPU
specified by the cpu argument.
The cpu_get_rad() function returns the following values:
Success. Failure. In this case, errno is set to indicate
the error.
If the cpu_get_rad() function fails, it sets errno to the
following value: The CPU identifier specified by cpu is
invalid.
Functions: numa_intro(3)
Files: numa_types(4)
cpu_get_rad(3)
[ Back ] |