host_processor_slots.html   [plain text]

<strong>Function</strong> - Return a list of numbers that map processor slots to active processors.
<strong>kern_return_t   host_processor_slots</strong>
                <strong>(host_t</strong>                                    <var>host</var>,
                 <strong>processor_slot_t</strong>                         <var>slots</var>,
                 <strong>host</strong>                                     <var>count</var><strong>);</strong>
<dt> <var>host</var> 
[in host-name send right]
The name (or control) port for the host for 
which information is to be obtained.
<dt> <var>slots</var> 
[out array of <var>processor_slot_t</var>]
An array of the processor slot numbers 
for active processors.
<dt> <var>count</var> 
[pointer to in/out scalar]
On input, the maximum size of the slots
buffer; on output, the number of returned slot numbers.
The <strong>host_processor_slots</strong> function returns an array
of the processor slots
defined for the host.
Only generic errors apply.
<a href="host_info.html"><strong>host_info</strong></a>,
<a href="host_processors.html"><strong>host_processors</strong></a>,
<a href="processor_info.html"><strong>processor_info</strong></a>.