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