xref: /xnu-10002.81.5/osfmk/man/task_thread_times_info.html (revision 5e3eaea39dcf651e66cb99ba7d70e32cc4a99587)
1*5e3eaea3SApple OSS Distributions<h2>task_thread_times_info</h2>
2*5e3eaea3SApple OSS Distributions<hr>
3*5e3eaea3SApple OSS Distributions<p>
4*5e3eaea3SApple OSS Distributions<strong>Structure</strong> - Defines thread execution times information for tasks.
5*5e3eaea3SApple OSS Distributions<h3>SYNOPSIS</h3>
6*5e3eaea3SApple OSS Distributions<pre>
7*5e3eaea3SApple OSS Distributions<strong>struct task_thread_times_info</strong>
8*5e3eaea3SApple OSS Distributions<strong>{</strong>
9*5e3eaea3SApple OSS Distributions       <strong>time_value_t</strong>         <var>user_time</var><strong>;</strong>
10*5e3eaea3SApple OSS Distributions       <strong>time_value_t</strong>       <var>system_time</var><strong>;</strong>
11*5e3eaea3SApple OSS Distributions<strong>};</strong>
12*5e3eaea3SApple OSS Distributions
13*5e3eaea3SApple OSS Distributions<strong>typedef struct task_thread_times_info* task_thread_times_info_t;</strong>
14*5e3eaea3SApple OSS Distributions</pre>
15*5e3eaea3SApple OSS Distributions<h3>FIELDS</h3>
16*5e3eaea3SApple OSS Distributions<dl>
17*5e3eaea3SApple OSS Distributions  <p>
18*5e3eaea3SApple OSS Distributions<dt> <var>user_time</var>
19*5e3eaea3SApple OSS Distributions<dd>
20*5e3eaea3SApple OSS DistributionsTotal user run time for live threads.
21*5e3eaea3SApple OSS Distributions     <p>
22*5e3eaea3SApple OSS Distributions<dt> <var>system_time</var>
23*5e3eaea3SApple OSS Distributions<dd>
24*5e3eaea3SApple OSS DistributionsTotal system run time for live threads.
25*5e3eaea3SApple OSS Distributions</dl>
26*5e3eaea3SApple OSS Distributions<h3>DESCRIPTION</h3>
27*5e3eaea3SApple OSS Distributions<p>
28*5e3eaea3SApple OSS DistributionsThe <strong>task_thread_times_info</strong> structure defines thread
29*5e3eaea3SApple OSS Distributionsexecution time statistics
30*5e3eaea3SApple OSS Distributionsfor tasks.  The <strong>task_info</strong> function returns these times
31*5e3eaea3SApple OSS Distributionsfor a specified task.  The
32*5e3eaea3SApple OSS Distributions<strong>thread_info</strong> function returns this information for a specific thread.
33*5e3eaea3SApple OSS Distributions<h3>RELATED INFORMATION</h3>
34*5e3eaea3SApple OSS Distributions<p>
35*5e3eaea3SApple OSS DistributionsFunctions:
36*5e3eaea3SApple OSS Distributions<a href="task_info.html"><strong>task_info</strong></a>,
37*5e3eaea3SApple OSS Distributions<a href="thread_info.html"><strong>thread_info</strong></a>.
38*5e3eaea3SApple OSS Distributions<p>
39*5e3eaea3SApple OSS DistributionsData Structures:
40*5e3eaea3SApple OSS Distributions<a href="task_basic_info.html"><strong>task_basic_info</strong></a>,
41*5e3eaea3SApple OSS Distributions<a href="thread_basic_info.html"><strong>thread_basic_info</strong></a>.
42