Back to Darwin Xnu

Host Processor Slots

osfmk/man/host_processor_slots.html

latest946 B
Original Source

host_processor_slots


Function - Return a list of numbers that map processor slots to active processors.

SYNOPSIS

**kern\_return\_t host\_processor\_slots**** (host\_t **host,** processor\_slot\_t **slots,** host **count** );**

PARAMETERS

host[in host-name send right] The name (or control) port for the host for which information is to be obtained.

slots[out array of processor_slot_t] An array of the processor slot numbers for active processors.

count[pointer to in/out scalar] On input, the maximum size of the slots buffer; on output, the number of returned slot numbers.

DESCRIPTION

The host_processor_slots function returns an array of the processor slots defined for the host.

RETURN VALUES

Only generic errors apply.

Functions: host_info, host_processors, processor_info.