xref: /xnu-8792.81.2/osfmk/man/processor_set_statistics.html (revision 19c3b8c28c31cb8130e034cfb5df6bf9ba342d90)
1*19c3b8c2SApple OSS Distributions<h2>processor_set_statistics</h2>
2*19c3b8c2SApple OSS Distributions<hr>
3*19c3b8c2SApple OSS Distributions<p>
4*19c3b8c2SApple OSS Distributions<strong>Function</strong> - Return scheduling statistics for a processor set.
5*19c3b8c2SApple OSS Distributions<h3>SYNOPSIS</h3>
6*19c3b8c2SApple OSS Distributions<pre>
7*19c3b8c2SApple OSS Distributions<strong>kern_return_t	processor_set_statistics</strong>
8*19c3b8c2SApple OSS Distributions		<strong>(processor_set_t</strong>	<var>processor_set_control</var>,
9*19c3b8c2SApple OSS Distributions		<strong>processor_set_flavor_t</strong>	<var>flavor</var>,
10*19c3b8c2SApple OSS Distributions		<strong>processor_set_info_t</strong>	<var>processor_set_info</var>,
11*19c3b8c2SApple OSS Distributions		<strong>mach_msg_type_number_t</strong>	<var>processor_set_info_count</var><strong>);</strong>
12*19c3b8c2SApple OSS Distributions</pre>
13*19c3b8c2SApple OSS Distributions<h3>PARAMETERS</h3>
14*19c3b8c2SApple OSS Distributions<dl>
15*19c3b8c2SApple OSS Distributions<dt> <var>processor_set_control</var>
16*19c3b8c2SApple OSS Distributions<dd>
17*19c3b8c2SApple OSS Distributions[in processor-set-control send right]
18*19c3b8c2SApple OSS DistributionsA processor set control port for
19*19c3b8c2SApple OSS Distributionswhich information is desired.
20*19c3b8c2SApple OSS Distributions<dt> <var>flavor</var>
21*19c3b8c2SApple OSS Distributions<dd>
22*19c3b8c2SApple OSS Distributions[in scalar]
23*19c3b8c2SApple OSS DistributionsThe type of information requested.
24*19c3b8c2SApple OSS Distributions<dl>
25*19c3b8c2SApple OSS Distributions<dt> <strong>PROCESSOR_SET_LOAD_INFO</strong>
26*19c3b8c2SApple OSS Distributions<dd>
27*19c3b8c2SApple OSS DistributionsLoad statistics for the processor set.  The returned structure is
28*19c3b8c2SApple OSS Distributions<strong>processor_set_load_info</strong>.
29*19c3b8c2SApple OSS Distributions</dl>
30*19c3b8c2SApple OSS Distributions<dt> <var>processor_set_info</var>
31*19c3b8c2SApple OSS Distributions<dd>
32*19c3b8c2SApple OSS Distributions[out structure]
33*19c3b8c2SApple OSS DistributionsInformation about the processor set.
34*19c3b8c2SApple OSS Distributions<dt> <var>processor_set_info_count</var>
35*19c3b8c2SApple OSS Distributions<dd>
36*19c3b8c2SApple OSS Distributions[in/out scalar]
37*19c3b8c2SApple OSS DistributionsOn input, the maximum size of the buffer; on output, the
38*19c3b8c2SApple OSS Distributionssize returned (in natural-sized units).
39*19c3b8c2SApple OSS Distributions</dl>
40*19c3b8c2SApple OSS Distributions<h3>DESCRIPTION</h3>
41*19c3b8c2SApple OSS Distributions<p>
42*19c3b8c2SApple OSS DistributionsThe <strong>processor_set_statistics</strong> function returns statistics
43*19c3b8c2SApple OSS Distributionsfor a processor set as specified by <var>flavor</var>.
44*19c3b8c2SApple OSS Distributions<h3>RETURN VALUES</h3>
45*19c3b8c2SApple OSS Distributions<p>
46*19c3b8c2SApple OSS DistributionsOnly generic errors apply.
47*19c3b8c2SApple OSS Distributions<h3>RELATED INFORMATION</h3>
48*19c3b8c2SApple OSS Distributions<p>
49*19c3b8c2SApple OSS DistributionsFunctions:
50*19c3b8c2SApple OSS Distributions<a href="processor_set_info.html">processor_set_info</a>.
51*19c3b8c2SApple OSS Distributions<p>
52*19c3b8c2SApple OSS DistributionsData Structures:
53*19c3b8c2SApple OSS Distributions<a href="processor_set_load_info.html">processor_set_load_info</a>.
54