Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 07dfcfe50d66c9a48a3c5e6c1693f12a > files > 1501

cryptopp-doc-5.6.1-0.1.svn479.fc13.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Crypto++: ThreadUserTimer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ThreadUserTimer Class Reference</h1><!-- doxytag: class="ThreadUserTimer" --><!-- doxytag: inherits="TimerBase" -->
<p>measure CPU time spent executing instructions of this thread (if supported by OS)  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="hrtimer_8h_source.html">hrtimer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ThreadUserTimer:</div>
<div class="dynsection">
 <div class="center">
  <img src="class_thread_user_timer.gif" usemap="#ThreadUserTimer_map" alt=""/>
  <map id="ThreadUserTimer_map" name="ThreadUserTimer_map">
<area href="class_timer_base.html" alt="TimerBase" shape="rect" coords="0,0,109,24"/>
</map>
 </div>
</div>

<p><a href="class_thread_user_timer-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>Unit</b> { <b>SECONDS</b> =  0, 
<b>MILLISECONDS</b>, 
<b>MICROSECONDS</b>, 
<b>NANOSECONDS</b>
 }</td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeed675d41692cf082fd5ebb4f4496f0b"></a><!-- doxytag: member="ThreadUserTimer::ThreadUserTimer" ref="aeed675d41692cf082fd5ebb4f4496f0b" args="(Unit unit=TimerBase::SECONDS, bool stuckAtZero=false)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>ThreadUserTimer</b> (Unit unit=TimerBase::SECONDS, bool stuckAtZero=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91697dfcc4a2a2ed88ac18a3196dff71"></a><!-- doxytag: member="ThreadUserTimer::GetCurrentTimerValue" ref="a91697dfcc4a2a2ed88ac18a3196dff71" args="()" -->
TimerWord&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetCurrentTimerValue</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7fd32f847909e268eca39a91d07aab0"></a><!-- doxytag: member="ThreadUserTimer::TicksPerSecond" ref="ae7fd32f847909e268eca39a91d07aab0" args="()" -->
TimerWord&nbsp;</td><td class="memItemRight" valign="bottom"><b>TicksPerSecond</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50804b61c4254f7289c6c67515d5d46d"></a><!-- doxytag: member="ThreadUserTimer::StartTimer" ref="a50804b61c4254f7289c6c67515d5d46d" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>StartTimer</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3262a9d0815f1899701ee83c3ef8cf43"></a><!-- doxytag: member="ThreadUserTimer::ElapsedTimeAsDouble" ref="a3262a9d0815f1899701ee83c3ef8cf43" args="()" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>ElapsedTimeAsDouble</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeab32d0bc5ca83836e0e9f9e108d66a4"></a><!-- doxytag: member="ThreadUserTimer::ElapsedTime" ref="aeab32d0bc5ca83836e0e9f9e108d66a4" args="()" -->
unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>ElapsedTime</b> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>measure CPU time spent executing instructions of this thread (if supported by OS) </p>
<p>/note This only works correctly on Windows NT or later. On Unix it reports process time, and others wall clock time. </p>

<p>Definition at line <a class="el" href="hrtimer_8h_source.html#l00042">42</a> of file <a class="el" href="hrtimer_8h_source.html">hrtimer.h</a>.</p>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="hrtimer_8h_source.html">hrtimer.h</a></li>
<li><a class="el" href="hrtimer_8cpp_source.html">hrtimer.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 9 Dec 2009 for Crypto++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>