<ppdoc>
<copyright>
Copyright (c) 2001 by Addison Wesley Longman, Inc. This material may
be distributed only subject to the terms and conditions set forth in
the Open Publication License, v1.0 or later (the latest version is
presently available at http://www.opencontent.org/openpub/).
<p/>
Distribution of substantively modified versions of this document is
prohibited without the explicit permission of the copyright holder.
<p/>
Distribution of the work or derivative of the work in any standard
(paper) book form is prohibited unless prior permission is obtained
from the copyright holder.
</copyright>
<class name="Struct::Tms" super="Struct" type="class" ref="xref-000001">
<p/>
  This structure is returned by <ccm><file>time</file><front>Time</front><back>times</back><mref>times</mref></ccm>.  It holds
  information on process times on those platforms that support it.
  Not all values are valid on all platforms.    
<p/>
  This structure contains the following instance variables and the
  corresponding accessors:
<p/>
  <table>
<p/>
  <toprule/><tr>
  <td><tt>utime</tt></td>
  <td>Amount of User CPU time, in seconds</td>
</tr>
<tr>
  <td><tt>stime</tt></td>
  <td>Amount of System CPU time, in seconds</td>
</tr>
<tr>
  <td><tt>cutime</tt></td>
  <td>Completed child processes' User CPU time, in
      seconds (always 0 on Windows NT)</td>
</tr>
<tr>
  <td><tt>cstime</tt></td>
  <td>Completed child processes' System CPU time, in
      seconds (always 0 on Windows NT)</td>
</tr>
<bottomrule/></table>
<p/>
  See also <classname>Struct</classname> on page 380 and <ccm><file>time</file><front>Time</front><back>times</back><mref>times</mref></ccm>
  on page 393.
<p/>
<codefragment>
<fullcode><![CDATA[        t = Time.times
        [ t.utime, t.stime]
        [ t.cutime, t.cstime ]
]]></fullcode><rubycode>
<tr>
<td colspan="3"><tt>t<nbsp/>=<nbsp/>Time.times</tt></td>
</tr>
<tr>
  <td><tt>[<nbsp/>t.utime,<nbsp/>t.stime]</tt></td>
  <td>&#187;</td>
  <td><tt>[0.06,<nbsp/>0.0]</tt></td>
</tr>
<tr>
  <td><tt>[<nbsp/>t.cutime,<nbsp/>t.cstime<nbsp/>]</tt></td>
  <td>&#187;</td>
  <td><tt>[0.0,<nbsp/>0.0]</tt></td>
</tr>
</rubycode>
<p/>
</codefragment>
<p/>
</class>
</ppdoc>
