📄 class_timer_base.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>Crypto++: TimerBase Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.2 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.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="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>TimerBase Class Reference</h1><!-- doxytag: class="TimerBase" --><code>#include <<a class="el" href="hrtimer_8h-source.html">hrtimer.h</a>></code><p><p>Inheritance diagram for TimerBase:<p><center><img src="class_timer_base.png" usemap="#TimerBase_map" border="0" alt=""></center><map name="TimerBase_map"><area href="class_thread_user_timer.html" alt="ThreadUserTimer" shape="rect" coords="0,56,109,80"><area href="class_timer.html" alt="Timer" shape="rect" coords="119,56,228,80"></map><a href="class_timer_base-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>_ <p><p>Definition at line <a class="el" href="hrtimer_8h-source.html#l00022">22</a> of file <a class="el" href="hrtimer_8h-source.html">hrtimer.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb9">Unit</a> { <a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb9a8542adf2fdd9c433bade017e58b1999">SECONDS</a> = 0, <a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb99a21aebaffc991a16f40f070792f89bf">MILLISECONDS</a>, <a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb99e8b81c10efe9eccf48d6ee5f1c60d01">MICROSECONDS</a>, <a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb9d0738bf98917fd2ca3b0ae6d0192386d">NANOSECONDS</a> }</td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="436dfb7f82c64f3fe80657491579e1ef"></a><!-- doxytag: member="TimerBase::TimerBase" ref="436dfb7f82c64f3fe80657491579e1ef" args="(Unit unit, bool stuckAtZero)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer_base.html#436dfb7f82c64f3fe80657491579e1ef">TimerBase</a> (<a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb9">Unit</a> unit, bool stuckAtZero)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d61121759f6b27811b124e45c62c73a"></a><!-- doxytag: member="TimerBase::GetCurrentTimerValue" ref="9d61121759f6b27811b124e45c62c73a" args="()=0" -->virtual TimerWord </td><td class="memItemRight" valign="bottom"><b>GetCurrentTimerValue</b> ()=0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f2084cee7833c0819d577f3e45b9d2a"></a><!-- doxytag: member="TimerBase::TicksPerSecond" ref="8f2084cee7833c0819d577f3e45b9d2a" args="()=0" -->virtual TimerWord </td><td class="memItemRight" valign="bottom"><b>TicksPerSecond</b> ()=0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50804b61c4254f7289c6c67515d5d46d"></a><!-- doxytag: member="TimerBase::StartTimer" ref="50804b61c4254f7289c6c67515d5d46d" args="()" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer_base.html#50804b61c4254f7289c6c67515d5d46d">StartTimer</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3262a9d0815f1899701ee83c3ef8cf43"></a><!-- doxytag: member="TimerBase::ElapsedTimeAsDouble" ref="3262a9d0815f1899701ee83c3ef8cf43" args="()" -->double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer_base.html#3262a9d0815f1899701ee83c3ef8cf43">ElapsedTimeAsDouble</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eab32d0bc5ca83836e0e9f9e108d66a4"></a><!-- doxytag: member="TimerBase::ElapsedTime" ref="eab32d0bc5ca83836e0e9f9e108d66a4" args="()" -->unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="class_timer_base.html#eab32d0bc5ca83836e0e9f9e108d66a4">ElapsedTime</a> ()</td></tr></table><hr><h2>Member Enumeration Documentation</h2><a class="anchor" name="ce15d479a8bb76027f1f572010f62fb9"></a><!-- doxytag: member="TimerBase::Unit" ref="ce15d479a8bb76027f1f572010f62fb9" args="" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_timer_base.html#ce15d479a8bb76027f1f572010f62fb9">TimerBase::Unit</a> </td> </tr> </table></div><div class="memdoc"><p><dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="ce15d479a8bb76027f1f572010f62fb9a8542adf2fdd9c433bade017e58b1999"></a><!-- doxytag: member="SECONDS" ref="ce15d479a8bb76027f1f572010f62fb9a8542adf2fdd9c433bade017e58b1999" args="" -->SECONDS</em> </td><td></td></tr><tr><td valign="top"><em><a class="anchor" name="ce15d479a8bb76027f1f572010f62fb99a21aebaffc991a16f40f070792f89bf"></a><!-- doxytag: member="MILLISECONDS" ref="ce15d479a8bb76027f1f572010f62fb99a21aebaffc991a16f40f070792f89bf" args="" -->MILLISECONDS</em> </td><td></td></tr><tr><td valign="top"><em><a class="anchor" name="ce15d479a8bb76027f1f572010f62fb99e8b81c10efe9eccf48d6ee5f1c60d01"></a><!-- doxytag: member="MICROSECONDS" ref="ce15d479a8bb76027f1f572010f62fb99e8b81c10efe9eccf48d6ee5f1c60d01" args="" -->MICROSECONDS</em> </td><td></td></tr><tr><td valign="top"><em><a class="anchor" name="ce15d479a8bb76027f1f572010f62fb9d0738bf98917fd2ca3b0ae6d0192386d"></a><!-- doxytag: member="NANOSECONDS" ref="ce15d479a8bb76027f1f572010f62fb9d0738bf98917fd2ca3b0ae6d0192386d" args="" -->NANOSECONDS</em> </td><td></td></tr></table></dl><p>Definition at line <a class="el" href="hrtimer_8h-source.html#l00025">25</a> of file <a class="el" href="hrtimer_8h-source.html">hrtimer.h</a>.</div></div><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><a class="el" href="hrtimer_8cpp-source.html">hrtimer.cpp</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:52 2007 for Crypto++ by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -