cds
2.3.2
|
System topology. More...
#include <cds/os/hpux/topology.h>
Static Public Member Functions | |
static unsigned int | processor_count () |
Logical processor count for the system. | |
static unsigned int | current_processor () |
Get current processor number. More... | |
static unsigned int | native_current_processor () |
Get OS-specific current processor number. More... | |
System topology.
|
inlinestatic |
Get current processor number.
In HP-UX, processor and locality domain IDs are not guaranteed to exist in numerical order. There may be holes in a sequential list of IDs.
This function guarantees sequence of processor numbers using internal processor ID mapping. It returns sequential processor number, ie a number from 0 to N - 1, where N - processor count.
|
inlinestatic |
Get OS-specific current processor number.
The function returns OS-provided processor number. Processor and locality domain IDs are not guaranteed to exist in numerical order. There may be holes in a sequential list of IDs.