Back to Darwin Xnu

Processor Set Statistics

osfmk/man/processor_set_statistics.html

latest1.2 KB
Original Source

processor_set_statistics


Function - Return scheduling statistics for a processor set.

SYNOPSIS

**kern\_return\_t processor\_set\_statistics**** (processor\_set\_t **processor\_set\_control,** processor\_set\_flavor\_t **flavor,** processor\_set\_info\_t **processor\_set\_info,** mach\_msg\_type\_number\_t **processor\_set\_info\_count** );**

PARAMETERS

processor_set_control[in processor-set-control send right] A processor set control port for which information is desired. flavor[in scalar] The type of information requested. PROCESSOR_SET_LOAD_INFO Load statistics for the processor set. The returned structure is processor_set_load_info. processor_set_info[out structure] Information about the processor set. processor_set_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_set_statistics function returns statistics for a processor set as specified by flavor.

RETURN VALUES

Only generic errors apply.

Functions: processor_set_info.

Data Structures: processor_set_load_info.