processor_info
Function - Return information about a processor.
SYNOPSIS
kern_return_t processor_info
(processor_t processor,
processor_flavor_t flavor,
host_t host,
processor_info_t processor_info,
mach_msg_type_number_t processor_info_count);
PARAMETERS
- processor
-
[in processor send right]
A processor port for which information is
desired.
- flavor
-
[in scalar]
The type of information requested.
- PROCESSOR_BASIC_INFO
-
Basic information, slot number, running status, etc. The
returned structure is processor_basic_info.
- host
-
[out host-name send right]
The host on which the processor resides.
This is the host name port.
- processor_info
-
[out structure]
Information about the processor.
- processor_info_count
-
[in/out scalar]
On input, the maximum size of the buffer; on output, the
size returned (in natural-sized units).
DESCRIPTION
The processor_info function returns selected information
for a processor, as specified by flavor.
RETURN VALUES
Only generic errors apply.
RELATED INFORMATION
Functions:
processor_start,
processor_exit,
processor_control,
host_processors.
Data Structures:
processor_basic_info.