cds  2.3.2
cds::OS::Hpux::topology Struct Reference

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...
 

Detailed Description

System topology.

Member Function Documentation

◆ current_processor()

static unsigned int cds::OS::Hpux::topology::current_processor ( )
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.

◆ native_current_processor()

static unsigned int cds::OS::Hpux::topology::native_current_processor ( )
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.


The documentation for this struct was generated from the following file:

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:53 by Doxygen 1.8.13