]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/processor_set_load_info.html
xnu-1504.3.12.tar.gz
[apple/xnu.git] / osfmk / man / processor_set_load_info.html
1 <h2>processor_set_load_info</h2>
2 <hr>
3 <p>
4 <strong>Structure</strong> - Defines the scheduling statistics for a processor set.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>struct processor_set_load_info</strong>
8 <strong>{</strong>
9 <strong>int</strong> <var>task_count</var><strong>;</strong>
10 <strong>int</strong> <var>thread_count</var><strong>;</strong>
11 <strong>integer_t</strong> <var>load_average</var><strong>;</strong>
12 <strong>integer_t</strong> <var>mach_factor</var><strong>;</strong>
13 <strong>};</strong>
14
15 <strong>typedef struct processor_set_load_info* processor_set_load_info_t;</strong>
16 </pre>
17 <h3>FIELDS</h3>
18 <dl>
19 <dt> <var>task_count</var>
20 <dd>
21 Number of tasks currently assigned to this processor set
22 <p>
23 <dt> <var>thread_count</var>
24 <dd>
25 Number of threads currently assigned to this processor set
26 <p>
27 <dt> <var>load_average</var>
28 <dd>
29 Average number of runnable processes divided by number of CPUs
30 <p>
31 <dt> <var>mach_factor</var>
32 <dd>
33 The processing resources available to a new thread\(emthe number of
34 CPUs divided by (1 + the number of threads)
35 </dl>
36 <h3>DESCRIPTION</h3>
37 <p>
38 The <strong>processor_set_load_info</strong> structure defines the scheduling
39 statistics
40 maintained for a processor set.
41 <h3>RELATED INFORMATION</h3>
42 <p>
43 <p>
44 Data Structures:
45 <a href="processor_set_basic_info.html"><strong>processor_set_basic_info</strong></a>.