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.

109 lines
8.9 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::interval_t 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><li class="navelem"><a class="el" href="a00066.html">interval_t</a></li> </ul>
  37. </div>
  38. </div><!-- top -->
  39. <div class="header">
  40. <div class="summary">
  41. <a href="#pub-methods">Public Member Functions</a> &#124;
  42. <a href="#friends">Friends</a> &#124;
  43. <a href="a00306.html">List of all members</a> </div>
  44. <div class="headertitle">
  45. <div class="title">tbb::tick_count::interval_t Class Reference</div> </div>
  46. </div><!--header-->
  47. <div class="contents">
  48. <p>Relative time interval.
  49. <a href="a00066.html#details">More...</a></p>
  50. <p><code>#include &lt;tick_count.h&gt;</code></p>
  51. <table class="memberdecls">
  52. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  53. Public Member Functions</h2></td></tr>
  54. <tr class="memitem:a95e3e14750bebafe719856176e2737db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95e3e14750bebafe719856176e2737db"></a>
  55. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a95e3e14750bebafe719856176e2737db">interval_t</a> ()</td></tr>
  56. <tr class="memdesc:a95e3e14750bebafe719856176e2737db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a time interval representing zero time duration. <br/></td></tr>
  57. <tr class="separator:a95e3e14750bebafe719856176e2737db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  58. <tr class="memitem:a73b462297173f6bffa15bc5a86c30ef4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73b462297173f6bffa15bc5a86c30ef4"></a>
  59. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a73b462297173f6bffa15bc5a86c30ef4">interval_t</a> (double sec)</td></tr>
  60. <tr class="memdesc:a73b462297173f6bffa15bc5a86c30ef4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a time interval representing sec seconds time duration. <br/></td></tr>
  61. <tr class="separator:a73b462297173f6bffa15bc5a86c30ef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  62. <tr class="memitem:abe81446bbbb6b6e98d854b91acf47809"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe81446bbbb6b6e98d854b91acf47809"></a>
  63. double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#abe81446bbbb6b6e98d854b91acf47809">seconds</a> () const </td></tr>
  64. <tr class="memdesc:abe81446bbbb6b6e98d854b91acf47809"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the length of a time interval in seconds. <br/></td></tr>
  65. <tr class="separator:abe81446bbbb6b6e98d854b91acf47809"><td class="memSeparator" colspan="2">&#160;</td></tr>
  66. <tr class="memitem:a19bf32f4541252daaa6b09fd33fa9177"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19bf32f4541252daaa6b09fd33fa9177"></a>
  67. <a class="el" href="a00066.html">interval_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a19bf32f4541252daaa6b09fd33fa9177">operator+=</a> (const <a class="el" href="a00066.html">interval_t</a> &amp;i)</td></tr>
  68. <tr class="memdesc:a19bf32f4541252daaa6b09fd33fa9177"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accumulation operator. <br/></td></tr>
  69. <tr class="separator:a19bf32f4541252daaa6b09fd33fa9177"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. <tr class="memitem:a3394d9f3678e6a4c3d6e1be840fe2ff2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3394d9f3678e6a4c3d6e1be840fe2ff2"></a>
  71. <a class="el" href="a00066.html">interval_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a3394d9f3678e6a4c3d6e1be840fe2ff2">operator-=</a> (const <a class="el" href="a00066.html">interval_t</a> &amp;i)</td></tr>
  72. <tr class="memdesc:a3394d9f3678e6a4c3d6e1be840fe2ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtraction operator. <br/></td></tr>
  73. <tr class="separator:a3394d9f3678e6a4c3d6e1be840fe2ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. </table><table class="memberdecls">
  75. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  76. Friends</h2></td></tr>
  77. <tr class="memitem:a68e741a8f6e2384027e93d1f654ad100"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68e741a8f6e2384027e93d1f654ad100"></a>
  78. class&#160;</td><td class="memItemRight" valign="bottom"><b>tbb::tick_count</b></td></tr>
  79. <tr class="separator:a68e741a8f6e2384027e93d1f654ad100"><td class="memSeparator" colspan="2">&#160;</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="a00066.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">Extract the intervals from the tick_counts and subtract them. <br/></td></tr>
  83. <tr class="separator:ab5ceaed3ebf5a0d41088a5bc7c8dc653"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ac8910ee3b69f68eb905af787c273e9a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8910ee3b69f68eb905af787c273e9a8"></a>
  85. <a class="el" href="a00066.html">interval_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#ac8910ee3b69f68eb905af787c273e9a8">operator+</a> (const <a class="el" href="a00066.html">interval_t</a> &amp;i, const <a class="el" href="a00066.html">interval_t</a> &amp;j)</td></tr>
  86. <tr class="memdesc:ac8910ee3b69f68eb905af787c273e9a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add two intervals. <br/></td></tr>
  87. <tr class="separator:ac8910ee3b69f68eb905af787c273e9a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a3d11133daa9a7d3c903d070293278f8f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d11133daa9a7d3c903d070293278f8f"></a>
  89. <a class="el" href="a00066.html">interval_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a3d11133daa9a7d3c903d070293278f8f">operator-</a> (const <a class="el" href="a00066.html">interval_t</a> &amp;i, const <a class="el" href="a00066.html">interval_t</a> &amp;j)</td></tr>
  90. <tr class="memdesc:a3d11133daa9a7d3c903d070293278f8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtract two intervals. <br/></td></tr>
  91. <tr class="separator:a3d11133daa9a7d3c903d070293278f8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. </table>
  93. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  94. <div class="textblock"><p>Relative time interval. </p>
  95. </div><hr/>The documentation for this class was generated from the following file:<ul>
  96. <li>tick_count.h</li>
  97. </ul>
  98. </div><!-- contents -->
  99. <hr>
  100. <p></p>
  101. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  102. <p></p>
  103. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  104. registered trademarks or trademarks of Intel Corporation or its
  105. subsidiaries in the United States and other countries.
  106. <p></p>
  107. * Other names and brands may be claimed as the property of others.