cgid2cgnum --
convert CPU group ID to a CPU group number
Synopsis (Preliminary; ccNUMA only)
#include <sys/types.h>
cgnum_t cgid2cgnum(cgid_t cgid);
Description
converts a CPU group ID,
which uniquely identifies a physical CPU group,
to a CPU group number,
which is an ordinal number
that can be used as an array index.
cgid2cgnum( )
Arguments
cgid
CPU Group ID to be converted.
This uniquely identifies
a physical CPU group
and is persistent across reboots.
Return values
Usage
CPU group numbers may change across reboots;
CPU Group IDs are persistent.