]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/host_load_info.html
xnu-3789.1.32.tar.gz
[apple/xnu.git] / osfmk / man / host_load_info.html
old mode 100755 (executable)
new mode 100644 (file)
index ab61fa2..4a851f3
@@ -1 +1,47 @@
-<h2>host_load_info</h2>\r<hr>\r<p>\r<strong>Structure</strong> - Used to present a host's processor load information.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>#define CPU_STATE_USER     0</strong>\r\r<strong>#define CPU_STATE_SYSTEM   1</strong>\r\r<strong>#define CPU_STATE_IDLE     2</strong>\r\r<strong>struct host_load_info</strong>\r<strong>{</strong>\r       <strong>integer_t</strong>        <var>avenrun</var><strong>[3];</strong>\r       <strong>integer_t</strong>    <var>mach_factor</var><strong>[3];</strong>\r<strong>};</strong>\r\r<strong>typedef struct host_load_info* host_load_info_t;</strong>\r</pre>\r<h3>FIELDS</h3>\r<dl>\r<dt> <var>avenrun</var>\r<dd>\rload average--average number of runnable processes divided by\rnumber of CPUs\r<p>\r<dt> <var>mach_factor</var>\r<dd>\rThe processing resources available to a new thread--the number of \rCPUs divided by (1 + the number of threads)\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>host_load_info</strong> structure defines the loading information\ravailable about a \rhost.  The information returned is exponential averages over three periods of \rtime: 5, 30 and 60 seconds.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="host_statistics.html"><strong>host_statistics</strong></a>.\r<p>\rData Structures:\r<a href="host_basic_info.html"><strong>host_basic_info</strong></a>,\r<a href="host_sched_info.html"><strong>host_sched_info</strong></a>.\r\r
\ No newline at end of file
+<h2>host_load_info</h2>
+<hr>
+<p>
+<strong>Structure</strong> - Used to present a host's processor load information.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>#define CPU_STATE_USER     0</strong>
+
+<strong>#define CPU_STATE_SYSTEM   1</strong>
+
+<strong>#define CPU_STATE_IDLE     2</strong>
+
+<strong>struct host_load_info</strong>
+<strong>{</strong>
+       <strong>integer_t</strong>        <var>avenrun</var><strong>[3];</strong>
+       <strong>integer_t</strong>    <var>mach_factor</var><strong>[3];</strong>
+<strong>};</strong>
+
+<strong>typedef struct host_load_info* host_load_info_t;</strong>
+</pre>
+<h3>FIELDS</h3>
+<dl>
+<dt> <var>avenrun</var>
+<dd>
+load average--average number of runnable processes divided by
+number of CPUs
+<p>
+<dt> <var>mach_factor</var>
+<dd>
+The processing resources available to a new thread--the number of 
+CPUs divided by (1 + the number of threads)
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>host_load_info</strong> structure defines the loading information
+available about a 
+host.  The information returned is exponential averages over three periods of 
+time: 5, 30 and 60 seconds.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="host_statistics.html"><strong>host_statistics</strong></a>.
+<p>
+Data Structures:
+<a href="host_basic_info.html"><strong>host_basic_info</strong></a>,
+<a href="host_sched_info.html"><strong>host_sched_info</strong></a>.
+