]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/task_thread_times_info.html
xnu-792.6.76.tar.gz
[apple/xnu.git] / osfmk / man / task_thread_times_info.html
1 <h2>task_thread_times_info</h2>
2 <hr>
3 <p>
4 <strong>Structure</strong> - Defines thread execution times information for tasks.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>struct task_thread_times_info</strong>
8 <strong>{</strong>
9 <strong>time_value_t</strong> <var>user_time</var><strong>;</strong>
10 <strong>time_value_t</strong> <var>system_time</var><strong>;</strong>
11 <strong>};</strong>
12
13 <strong>typedef struct task_thread_times_info* task_thread_times_info_t;</strong>
14 </pre>
15 <h3>FIELDS</h3>
16 <dl>
17 <p>
18 <dt> <var>user_time</var>
19 <dd>
20 Total user run time for live threads.
21 <p>
22 <dt> <var>system_time</var>
23 <dd>
24 Total system run time for live threads.
25 </dl>
26 <h3>DESCRIPTION</h3>
27 <p>
28 The <strong>task_thread_times_info</strong> structure defines thread
29 execution time statistics
30 for tasks. The <strong>task_info</strong> function returns these times
31 for a specified task. The
32 <strong>thread_info</strong> function returns this information for a specific thread.
33 <h3>RELATED INFORMATION</h3>
34 <p>
35 Functions:
36 <a href="task_info.html"><strong>task_info</strong></a>,
37 <a href="thread_info.html"><strong>thread_info</strong></a>.
38 <p>
39 Data Structures:
40 <a href="task_basic_info.html"><strong>task_basic_info</strong></a>,
41 <a href="thread_basic_info.html"><strong>thread_basic_info</strong></a>.