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