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