index.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  4. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  5. <meta name="ProgId" content="FrontPage.Editor.Document">
  6. <title>Boost Timer Library</title>
  7. <style type="text/css">
  8. ins {background-color:#A0FFA0}
  9. del {background-color:#FFA0A0}
  10. body
  11. {
  12. font-family: sans-serif;
  13. max-width : 8.5in;
  14. margin: 1em;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="750">
  20. <tr>
  21. <td width="300">
  22. <a href="../../../index.htm">
  23. <img src="../../../boost.png" alt="boost.png (6897 bytes)" align="middle" width="300" height="86" border="0"></a></td>
  24. <td align="middle" width="430">
  25. <font size="7">Timer Library<br>
  26. Version 2</font>
  27. </td>
  28. </tr>
  29. </table>
  30. <table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" bgcolor="#D7EEFF" width="100%">
  31. <tr>
  32. <td><a href="index.html">Timer Home</a> &nbsp;&nbsp;
  33. <a href="cpu_timers.html">CPU timers</a> &nbsp;&nbsp;
  34. <a href="original_timer.html">Original timers</a> &nbsp;&nbsp;
  35. </td>
  36. </tr>
  37. </table>
  38. <p>&quot;How long does my C++ code take to run?&quot;<p>The Boost Timer library
  39. answers that question and does so portably, with as little as one #include and one
  40. additional line of code.<p>The Boost Timer library has two distinct sets of
  41. components:<ul>
  42. <li>If you are new to the library, please go directly to the version 2
  43. <a href="cpu_timers.html">CPU timers</a> page.</li>
  44. <li>If you are interested in
  45. the original library, now deprecated, read on below.</li>
  46. </ul>
  47. <h2>
  48. <a href="cpu_timers.html">CPU timers</a></h2>
  49. <p>These version 2 components conform to current Boost practice:</p>
  50. <ul>
  51. <li>The interfaces and their semantics are the same across all platforms.</li>
  52. <li>The internal implementation uses operating system specific APIs to achieve
  53. higher precision and supply functionality not otherwise available.&nbsp; </li>
  54. <li>The headers live in a sub-directory, <code>&lt;boost/timer/...&gt;</code>.</li>
  55. <li>The content is in a sub-namespace, <code>boost::timer</code>.</li>
  56. </ul>
  57. <h2 dir="ltr">
  58. <a href="original_timer.html">Original timers</a></h2>
  59. <p>These version 1 components are deprecated. They date from the earliest days
  60. of Boost and do not conform to current Boost practice:</p>
  61. <ul>
  62. <li>The interfaces are the same across all platforms, but the semantics differ
  63. according to platform. Wall-clock time is measured on Windows, while CPU time
  64. is measured on POSIX-like systems.</li>
  65. <li>The internal implementation uses only C/C++ standard library functions, so
  66. cannot supply desirable precision and functionality.</li>
  67. <li>The headers live in the main Boost header directory.</li>
  68. <li>The content are in namespace <code>boost</code>.</li>
  69. </ul>
  70. <hr>
  71. <p><font size="2">Revised:
  72. <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B %Y" startspan -->07 October 2011<!--webbot bot="Timestamp" endspan i-checksum="32191" --></font></p>
  73. <p><font size="2">© Copyright Beman Dawes&nbsp; 2001, 2011</font></p>
  74. <p><font size="2">Distributed under the Boost Software License, Version 1.0. See
  75. </font>
  76. <a href="http://www.boost.org/LICENSE_1_0.txt"><font size="2">www.boost.org/LICENSE_1_0.txt</font></a></p>
  77. </body>
  78. </html>