summaryrefslogtreecommitdiffstats
path: root/tapsets/API-task-stime.html
blob: 2fd939db5e166c2dadd66dd185f1c812b41002a0 (plain) (blame)
1 2 3 4 5 6 7 8 9 10 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>function::task_stime</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="task_time_stp.html" title="Chapter 7. Task Time Tapset"><link rel="prev" href="API-task-start-time.html" title="function::task_start_time"><link rel="next" href="API-task-time-string.html" title="function::task_time_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">function::task_stime</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-task-start-time.html">Prev</a> </td><th width="60%" align="center">Chapter 7. Task Time Tapset</th><td width="20%" align="right"> <a accesskey="n" href="API-task-time-string.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-task-stime"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::task_stime — System time of the task </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">1) task_stime:long()</pre><pre class="programlisting">2) task_stime:long(tid:long)</pre></div><div class="refsect1"><a name="id1748"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>tid</code></em></span></dt><dd><p> Thread id of the given task </p></dd></dl></div></div><div class="refsect1"><a name="id1749"></a><h2>Description</h2><p>1) Returns the system time of the current task in cputime. Does not include any time used by other tasks in this process, nor does it include any time of the children of this task.</p><p>2) Returns the system time of the given task in cputime, or zero if the task doesn't exist. Does not include any time used by other tasks in this process, nor does it include any time of the children of this task.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-task-start-time.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="task_time_stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-task-time-string.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">function::task_start_time</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">function::task_time_string</span></td></tr></table></div></body></html>