Back to Darwin Xnu

Processor Set Load Info

osfmk/man/processor_set_load_info.html

latest980 B
Original Source

processor_set_load_info


Structure - Defines the scheduling statistics for a processor set.

SYNOPSIS

**struct processor\_set\_load\_info**** { ****int** task\_count **;**** int **thread\_count** ; ****integer\_t** load\_average **;**** integer\_t **mach\_factor** ; ****};**** typedef struct processor\_set\_load\_info\* processor\_set\_load\_info\_t;**

FIELDS

task_countNumber of tasks currently assigned to this processor set

thread_countNumber of threads currently assigned to this processor set

load_averageAverage number of runnable processes divided by number of CPUs

mach_factorThe processing resources available to a new thread(emthe number of CPUs divided by (1 + the number of threads)

DESCRIPTION

The processor_set_load_info structure defines the scheduling statistics maintained for a processor set.

Data Structures: processor_set_basic_info.