]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/task_basic_info.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / task_basic_info.html
CommitLineData
13fec989
A
1<h2>task_basic_info</h2>
2<hr>
3<p>
4<strong>Structure</strong> - Defines basic information for a task.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>struct task_basic_info</strong>
8<strong>{</strong>
9 <strong>integer_t</strong> <var>suspend_count</var><strong>;</strong>
10 <strong>vm_size_t</strong> <var>virtual_size</var><strong>;</strong>
11 <strong>vm_size_t</strong> <var>resident_size</var><strong>;</strong>
12 <strong>time_value_t</strong> <var>user_time</var><strong>;</strong>
13 <strong>time_value_t</strong> <var>system_time</var><strong>;</strong>
14 <strong>policy_t</strong> <var>policy</var><strong>;</strong>
15<strong>};</strong>
16
17<strong>typedef struct task_basic_info* task_basic_info_t;</strong>
18</pre>
19<h3>FIELDS</h3>
20<dl>
21<dt> <var>suspend_count</var>
22<dd>
23The current suspend count for the task.
24 <p>
25<dt> <var>virtual_size</var>
26<dd>
27The number of virtual pages for the task.
28 <p>
29<dt> <var>resident_size</var>
30<dd>
31The number of resident pages for the task
32 <p>
33<dt> <var>user_time</var>
34<dd>
35The total user run time for terminated threads within the task.
36 <p>
37<dt> <var>system_time</var>
38<dd>
39The total system run time for terminated threads within the task.
40 <p>
41<dt> <var>policy</var>
42<dd>
43Default scheduling policy to apply to new threads.
44</dl>
45<h3>DESCRIPTION</h3>
46<p>
47The <strong>task_basic_info</strong> structure defines the basic information array for
48tasks. The <strong>task_info</strong> function returns this array for a specified task.
49<h3>NOTES</h3>
50<p>
51This structure is machine word length sensitive due
52to the presence of the
53virtual address sizes.
54<h3>RELATED INFORMATION</h3>
55<p>
56Functions:
57<a href="task_info.html"><strong>task_info</strong></a>.
58<p>
59Data Structures:
60<a href="task_thread_times_info.html"><strong>task_thread_times_info</strong></a>,
61<a href="policy_fifo_info.html"><strong>policy_fifo_info</strong></a>,
62<a href="policy_rr_info.html"><strong>policy_rr_info</strong></a>,
63<a href="policy_timeshare_info.html"><strong>policy_timeshare_info</strong></a>.