timer/doc/index.html
Beman Dawes b7eb5408e8 More docs fixes from Robert.
[SVN r74780]
2011-10-07 15:02:02 +00:00

86 lines
3.3 KiB
HTML
Raw Permalink Blame History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Boost Timer Library</title>
<style type="text/css">
ins {background-color:#A0FFA0}
del {background-color:#FFA0A0}
body
{
font-family: sans-serif;
max-width : 8.5in;
margin: 1em;
}
</style>
</head>
<body>
<table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="750">
<tr>
<td width="300">
<a href="../../../index.htm">
<img src="../../../boost.png" alt="boost.png (6897 bytes)" align="middle" width="300" height="86" border="0"></a></td>
<td align="middle" width="430">
<font size="7">Timer Library<br>
Version 2</font>
</td>
</tr>
</table>
<table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" bgcolor="#D7EEFF" width="100%">
<tr>
<td><a href="index.html">Timer Home</a> &nbsp;&nbsp;
<a href="cpu_timers.html">CPU timers</a> &nbsp;&nbsp;
<a href="original_timer.html">Original timers</a> &nbsp;&nbsp;
</td>
</tr>
</table>
<p>&quot;How long does my C++ code take to run?&quot;<p>The Boost Timer library
answers that question and does so portably, with as little as one #include and one
additional line of code.<p>The Boost Timer library has two distinct sets of
components:<ul>
<li>If you are new to the library, please go directly to the version 2
<a href="cpu_timers.html">CPU timers</a> page.</li>
<li>If you are interested in
the original library, now deprecated, read on below.</li>
</ul>
<h2>
<a href="cpu_timers.html">CPU timers</a></h2>
<p>These version 2 components conform to current Boost practice:</p>
<ul>
<li>The interfaces and their semantics are the same across all platforms.</li>
<li>The internal implementation uses operating system specific APIs to achieve
higher precision and supply functionality not otherwise available.&nbsp; </li>
<li>The headers live in a sub-directory, <code>&lt;boost/timer/...&gt;</code>.</li>
<li>The content is in a sub-namespace, <code>boost::timer</code>.</li>
</ul>
<h2 dir="ltr">
<a href="original_timer.html">Original timers</a></h2>
<p>These version 1 components are deprecated. They date from the earliest days
of Boost and do not conform to current Boost practice:</p>
<ul>
<li>The interfaces are the same across all platforms, but the semantics differ
according to platform. Wall-clock time is measured on Windows, while CPU time
is measured on POSIX-like systems.</li>
<li>The internal implementation uses only C/C++ standard library functions, so
cannot supply desirable precision and functionality.</li>
<li>The headers live in the main Boost header directory.</li>
<li>The content are in namespace <code>boost</code>.</li>
</ul>
<hr>
<p><font size="2">Revised:
<!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B %Y" startspan -->07 October 2011<!--webbot bot="Timestamp" endspan i-checksum="32191" --></font></p>
<p><font size="2"><EFBFBD> Copyright Beman Dawes&nbsp; 2001, 2011</font></p>
<p><font size="2">Distributed under the Boost Software License, Version 1.0. See
</font>
<a href="http://www.boost.org/LICENSE_1_0.txt"><font size="2">www.boost.org/LICENSE_1_0.txt</font></a></p>
</body>
</html>