]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>processor_set_load_info</h2>\r<hr>\r<p>\r<strong>Structure</strong> - Defines the scheduling statistics for a processor set.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>struct processor_set_load_info</strong>\r<strong>{</strong>\r <strong>int</strong> <var>task_count</var><strong>;</strong>\r <strong>int</strong> <var>thread_count</var><strong>;</strong>\r <strong>integer_t</strong> <var>load_average</var><strong>;</strong>\r <strong>integer_t</strong> <var>mach_factor</var><strong>;</strong>\r<strong>};</strong>\r\r<strong>typedef struct processor_set_load_info* processor_set_load_info_t;</strong>\r</pre>\r<h3>FIELDS</h3>\r<dl>\r<dt> <var>task_count</var>\r<dd>\rNumber of tasks currently assigned to this processor set\r<p>\r<dt> <var>thread_count</var>\r<dd>\rNumber of threads currently assigned to this processor set\r<p>\r<dt> <var>load_average</var>\r<dd>\rAverage number of runnable processes divided by number of CPUs\r<p>\r<dt> <var>mach_factor</var>\r<dd>\rThe processing resources available to a new thread\(emthe number of \rCPUs divided by (1 + the number of threads)\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>processor_set_load_info</strong> structure defines the scheduling\rstatistics\rmaintained for a processor set.\r<h3>RELATED INFORMATION</h3>\r<p>\r<p>\rData Structures:\r<a href="processor_set_basic_info.html"><strong>processor_set_basic_info</strong></a>.\r |