You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
6.6 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.4"/>
  7. <title>tbb::tick_count Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <!-- end header part -->
  16. <!-- Generated by Doxygen 1.8.4 -->
  17. <div id="navrow1" class="tabs">
  18. <ul class="tablist">
  19. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  20. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  21. <li><a href="modules.html"><span>Modules</span></a></li>
  22. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  23. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  24. <li><a href="files.html"><span>Files</span></a></li>
  25. </ul>
  26. </div>
  27. <div id="navrow2" class="tabs2">
  28. <ul class="tablist">
  29. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  30. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  31. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  32. </ul>
  33. </div>
  34. <div id="nav-path" class="navpath">
  35. <ul>
  36. <li class="navelem"><a class="el" href="a00222.html">tbb</a></li><li class="navelem"><a class="el" href="a00155.html">tick_count</a></li> </ul>
  37. </div>
  38. </div><!-- top -->
  39. <div class="header">
  40. <div class="summary">
  41. <a href="#nested-classes">Classes</a> &#124;
  42. <a href="#pub-methods">Public Member Functions</a> &#124;
  43. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  44. <a href="#friends">Friends</a> &#124;
  45. <a href="a00305.html">List of all members</a> </div>
  46. <div class="headertitle">
  47. <div class="title">tbb::tick_count Class Reference<div class="ingroups"><a class="el" href="a00238.html">Timing</a></div></div> </div>
  48. </div><!--header-->
  49. <div class="contents">
  50. <p>Absolute timestamp.
  51. <a href="a00155.html#details">More...</a></p>
  52. <p><code>#include &lt;tick_count.h&gt;</code></p>
  53. <table class="memberdecls">
  54. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  55. Classes</h2></td></tr>
  56. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html">interval_t</a></td></tr>
  57. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Relative time interval. <a href="a00066.html#details">More...</a><br/></td></tr>
  58. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  59. </table><table class="memberdecls">
  60. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  61. Public Member Functions</h2></td></tr>
  62. <tr class="memitem:a9f1daa0b7a4feb800f802b4be1f1e497"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f1daa0b7a4feb800f802b4be1f1e497"></a>
  63. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#a9f1daa0b7a4feb800f802b4be1f1e497">tick_count</a> ()</td></tr>
  64. <tr class="memdesc:a9f1daa0b7a4feb800f802b4be1f1e497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an absolute timestamp initialized to zero. <br/></td></tr>
  65. <tr class="separator:a9f1daa0b7a4feb800f802b4be1f1e497"><td class="memSeparator" colspan="2">&#160;</td></tr>
  66. </table><table class="memberdecls">
  67. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  68. Static Public Member Functions</h2></td></tr>
  69. <tr class="memitem:a74dcecde7431ff4591d7c46fc1d50d7e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74dcecde7431ff4591d7c46fc1d50d7e"></a>
  70. static <a class="el" href="a00155.html">tick_count</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#a74dcecde7431ff4591d7c46fc1d50d7e">now</a> ()</td></tr>
  71. <tr class="memdesc:a74dcecde7431ff4591d7c46fc1d50d7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return current time. <br/></td></tr>
  72. <tr class="separator:a74dcecde7431ff4591d7c46fc1d50d7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:aaf6a0d91e7d40f7d68e0ad6b79350e58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf6a0d91e7d40f7d68e0ad6b79350e58"></a>
  74. static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#aaf6a0d91e7d40f7d68e0ad6b79350e58">resolution</a> ()</td></tr>
  75. <tr class="memdesc:aaf6a0d91e7d40f7d68e0ad6b79350e58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the resolution of the clock in seconds per tick. <br/></td></tr>
  76. <tr class="separator:aaf6a0d91e7d40f7d68e0ad6b79350e58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. </table><table class="memberdecls">
  78. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  79. Friends</h2></td></tr>
  80. <tr class="memitem:ab5ceaed3ebf5a0d41088a5bc7c8dc653"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5ceaed3ebf5a0d41088a5bc7c8dc653"></a>
  81. <a class="el" href="a00066.html">interval_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00155.html#ab5ceaed3ebf5a0d41088a5bc7c8dc653">operator-</a> (const <a class="el" href="a00155.html">tick_count</a> &amp;t1, const <a class="el" href="a00155.html">tick_count</a> &amp;t0)</td></tr>
  82. <tr class="memdesc:ab5ceaed3ebf5a0d41088a5bc7c8dc653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtract two timestamps to get the time interval between. <br/></td></tr>
  83. <tr class="separator:ab5ceaed3ebf5a0d41088a5bc7c8dc653"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. </table>
  85. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  86. <div class="textblock"><p>Absolute timestamp. </p>
  87. </div><hr/>The documentation for this class was generated from the following file:<ul>
  88. <li>tick_count.h</li>
  89. </ul>
  90. </div><!-- contents -->
  91. <hr>
  92. <p></p>
  93. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  94. <p></p>
  95. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  96. registered trademarks or trademarks of Intel Corporation or its
  97. subsidiaries in the United States and other countries.
  98. <p></p>
  99. * Other names and brands may be claimed as the property of others.