|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65139 - in sandbox/chrono/libs/chrono/doc: . html html/boost_chrono html/boost_chrono/appendices html/boost_chrono/overview html/boost_chrono/reference html/boost_chrono/users_guide
From: vicente.botet_at_[hidden]
Date: 2010-08-30 17:56:03
Author: viboes
Date: 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
New Revision: 65139
URL: http://svn.boost.org/trac/boost/changeset/65139
Log:
document lightweight_stopwatch
Text files modified:
sandbox/chrono/libs/chrono/doc/chrono.qbk | 263 +++++++++------
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/acknowledgements.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/faq.html | 16
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/history.html | 637 ++++++++++++++++++++-------------------
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/implementation.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/perf.html | 8
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/rationale.html | 90 ++--
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tests.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tickets.html | 8
sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/todo.html | 28
sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview.html | 81 ++--
sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/description.html | 145 ++++----
sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/motivation.html | 12
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference.html | 6
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/cpp0x.html | 230 +++++++------
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/deprecated.html | 42 +-
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/formatters.html | 252 +++++++-------
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/other_clocks.html | 8
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/reporters.html | 48 +-
sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatches.html | 417 +++++++++++++++----------
sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/examples.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/ext_references.html | 4
sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/getting_started.html | 52 +-
sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/tutorial.html | 147 +++++----
sandbox/chrono/libs/chrono/doc/html/index.html | 10
27 files changed, 1346 insertions(+), 1182 deletions(-)
Modified: sandbox/chrono/libs/chrono/doc/chrono.qbk
==============================================================================
--- sandbox/chrono/libs/chrono/doc/chrono.qbk (original)
+++ sandbox/chrono/libs/chrono/doc/chrono.qbk 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -4229,8 +4229,10 @@
* __stopwatch_accumulator__
[endsect]
+
+
[/==================================================]
-[section:stopwatch_hpp Header `<boost/chrono/stopwatch.hpp>`]
+[section:lightweight_stopwatch_hpp Header `<boost/chrono/lightweight_stopwatch.hpp>`]
[/==================================================]
@@ -4238,57 +4240,49 @@
struct dont_start_t;
static const dont_start_t dont_start;
- template <class Clock=high_resolution_clock> class __stopwatch__;
+ template <class Clock=high_resolution_clock,
+ typename Features=void,
+ typename Weight=void
+ > class __lightweight_stopwatch__;
- template <class Clock>
- struct stopwatch_reporter_default_formatter<stopwatch<Clock> > {
- typedef stopwatch_formatter type;
- };
-
- template <class Clock>
- struct wstopwatch_reporter_default_formatter<stopwatch<Clock> > {
- typedef wstopwatch_formatter type;
- };
-
- typedef <see above> system_stopwatch;
+ typedef <see above> system_lightweight_stopwatch;
#ifdef __BOOST_CHRONO_HAS_CLOCK_MONOTONIC
- typedef <see above> monotonic_stopwatch;
+ typedef <see above> monotonic_lightweight_stopwatch;
#endif
- typedef <see above> high_resolution_stopwatch;
- typedef <see above> process_real_cpu_stopwatch;
- typedef <see above> process_user_cpu_stopwatch;
- typedef <see above> process_system_cpu_stopwatch;
+ typedef <see above> high_resolution_lightweight_stopwatch;
}}
[section:dont_start_t Class `dont_start_t`]
-Structure used to don't start a `stopwatch` at construction time.
+Structure used to don't start a `lightweight_stopwatch` at construction time.
struct dont_start_t;
static const dont_start_t dont_start;
[endsect]
-[section:stopwatch Template Class `stopwatch<>`]
+[section:lightweight_stopwatch Template Class `lightweight_stopwatch<>`]
-`stopwatch<>` is a model of a __stopwatch_concept__.
+`lightweight_stopwatch<>` is a model of a __lightweight_stopwatch_concept__.
Knowing how long a part of a program takes to execute is useful in both test and production environments.
-A __stopwatch__ object measures elapsed time. It is recommended to use it with clocks that measure wall clock rather than CPU time since the intended use is performance measurement on systems where total elapsed time is more important than just process or CPU time.
+A __lightweight_stopwatch__ object measures elapsed time. It is recommended to use it with clocks that measure wall clock rather than CPU time since the intended use is performance measurement on systems where total elapsed time is more important than just process or CPU time.
The maximum measurable elapsed time depends on the Clock parameter. The accuracy of timings depends on the
accuracy of timing information provided the Clock, and this coudl varies a great deal from one clock to another.
- template <class Clock> class stopwatch {
+ template <class Clock, typename Features, typename Weight>
+ class lightweight_stopwatch {
public:
typedef Clock clock;
typedef typename Clock::duration duration;
typedef typename Clock::time_point time_point;
+ typedef <see below> storage;
- explicit stopwatch( system::error_code & ec = system::throws );
- explicit stopwatch( const dont_start_t& t );
+ explicit lightweight_stopwatch( storage& st, system::error_code & ec = system::throws );
+ lightweight_stopwatch( storage& st, const dont_start_t& t );
- ~stopwatch();
+ ~lightweight_stopwatch();
time_point start( system::error_code & ec = system::throws );
duration stop( system::error_code & ec = system::throws );
@@ -4299,44 +4293,147 @@
duration elapsed( system::error_code & ec = system::throws );
- typedef stopwatch_runner<stopwatch<Clock> > scoped_run;
- typedef stopwatch_suspender<stopwatch<Clock> > scoped_suspend;
- typedef stopwatch_resumer<stopwatch<Clock> > scoped_resume;
- typedef stopwatch_reporter<stopwatch<Clock> > reporter;
+ time_point now( system::error_code & ec = system::throws );
+
+ void reset( system::error_code & ec = system::throws );
+
+ storage& get_storage( );
+
+ duration lifetime( system::error_code & ec = system::throws );
+
+ typedef lightweight_stopwatch_runner<lightweight_stopwatch<Clock> > scoped_run;
+ typedef lightweight_stopwatch_suspender<lightweight_stopwatch<Clock> > scoped_suspend;
+ typedef lightweight_stopwatch_resumer<lightweight_stopwatch<Clock> > scoped_resume;
+ typedef lightweight_stopwatch_reporter<lightweight_stopwatch<Clock> > reporter;
};
-[section:c1 Constructor `stopwatch( system::error_code &)`]
- explicit stopwatch( system::error_code & ec = system::throws );
+`storage` is either `Clock::duration` if Features and Weight are void and `accumulators::accumulator_set<typename Clock::duration::rep, Features, Weight>` otherwise.
+
+[section:c1 Constructor `lightweight_stopwatch( storage&, system::error_code &)`]
-[*Effect:] constructs and starts the stopwatch.
+ explicit lightweight_stopwatch( storage& st, system::error_code & ec = system::throws );
+
+[*Effect:] constructs and starts the lightweight_stopwatch.
[*Throw:] Any exception the `Clock::now` function can throw when `ec` is `system::throws`
[endsect]
-[section:c2 Constructor `stopwatch( dont_start_t &)`]
+[section:c2 Constructor `lightweight_stopwatch( storage&, dont_start_t &)`]
- explicit stopwatch( const dont_start_t& t );
+ explicit lightweight_stopwatch( storage& st, const dont_start_t& t );
-[*Effect:] constructs the stopwatch without starting it.
+[*Effect:] constructs the lightweight_stopwatch without starting it.
[*Throw:] Nothing.
[endsect]
-[section:stopwatch_elapsed Member Function `elapsed()`]
+[section:lightweight_stopwatch_elapsed Member Function `elapsed()`]
duration elapsed(system::error_code & ec = system::throws) const;
-[*Returns:] the elapsed time from the last call to start.
+[*Returns:] the cumulated elapsed time.
+
+[*Throw:] Any exception the `Clock::now` function can throw when `ec` is `system::throws`
+
+[endsect]
+
+
+[section:stopwatch_accumulator_accumulated Member Function `accumulated()`]
+
+ storage& get_storage();
+
+[*Returns:] the assocaited storage reference.
+
+[*Throw:] Nothing.
+
+[endsect]
+
+
+[section:stopwatch_accumulator_reset Member Function `reset()`]
+
+ void reset( );
+
+[*Effect:] Stop the lightweight_stopwatch and reinit the storage.
+
+[*Throw:] Nothing.
+
+[endsect]
+
+[endsect]
+
+[endsect]
+
+
+[/==================================================]
+[section:stopwatch_hpp Header `<boost/chrono/stopwatch.hpp>`]
+[/==================================================]
+
+
+ namespace boost { namespace chrono {
+ template <class Clock=high_resolution_clock> class __stopwatch__;
+
+ template <class Clock>
+ struct stopwatch_reporter_default_formatter<stopwatch<Clock> > {
+ typedef stopwatch_formatter type;
+ };
+
+ template <class Clock>
+ struct wstopwatch_reporter_default_formatter<stopwatch<Clock> > {
+ typedef wstopwatch_formatter type;
+ };
+
+ typedef <see above> system_stopwatch;
+ #ifdef __BOOST_CHRONO_HAS_CLOCK_MONOTONIC
+ typedef <see above> monotonic_stopwatch;
+ #endif
+ typedef <see above> high_resolution_stopwatch;
+ }}
+
+
+[section:stopwatch Template Class `stopwatch<>`]
+
+`stopwatch<>` is a model of a __stopwatch_concept__.
+
+Knowing how long a part of a program takes to execute is useful in both test and production environments.
+A __stopwatch__ object measures elapsed time. It is recommended to use it with clocks that measure wall clock rather than CPU time since the intended use is performance measurement on systems where total elapsed time is more important than just process or CPU time.
+
+The maximum measurable elapsed time depends on the Clock parameter. The accuracy of timings depends on the
+accuracy of timing information provided the Clock, and this coudl varies a great deal from one clock to another.
+
+ template <class Clock>
+ class stopwatch : private base_from_member<typename Clock::duration>, public lightweight_stopwatch<Clock>
+ {
+ public:
+ explicit stopwatch( system::error_code & ec = system::throws );
+ explicit stopwatch( const dont_start_t& t );
+
+ };
+
+[section:c1 Constructor `stopwatch( system::error_code &)`]
+
+ explicit stopwatch( system::error_code & ec = system::throws );
+
+[*Effect:] constructs and starts the stopwatch.
[*Throw:] Any exception the `Clock::now` function can throw when `ec` is `system::throws`
[endsect]
+[section:c2 Constructor `stopwatch( dont_start_t &)`]
+
+ explicit stopwatch( const dont_start_t& t );
+
+[*Effect:] constructs the stopwatch without starting it.
+
+[*Throw:] Nothing.
+
+[endsect]
+
[endsect]
[section:spec `stopwatch_reporter_default_formatter` Specialization]
@@ -4370,13 +4467,6 @@
typedef boost::chrono::stopwatch< boost::chrono::high_resolution_clock >
high_resolution_stopwatch;
- typedef boost::chrono::stopwatch< boost::chrono::process_real_cpu_clock >
- process_real_cpu_stopwatch;
- typedef boost::chrono::stopwatch< boost::chrono::process_user_cpu_clock >
- process_user_cpu_stopwatch;
- typedef boost::chrono::stopwatch< boost::chrono::process_system_cpu_clock >
- process_system_cpu_stopwatch;
-
[endsect]
[endsect]
@@ -4385,7 +4475,15 @@
[/==================================================]
namespace boost { namespace chrono {
- template <class Clock, class Accumulator> class __stopwatch_accumulator__;
+ template <class Clock,
+ typename Features=accumulators::features<
+ accumulators::tag::count,
+ accumulators::tag::sum,
+ accumulators::tag::min,
+ accumulators::tag::max,
+ accumulators::tag::mean >,
+ typename Weight=void
+ > class __stopwatch_accumulator__;
template <class Clock, class Accumulator>
struct stopwatch_reporter_default_formatter<stopwatch_accumulator<Clock, Accumulator> > {
@@ -4403,10 +4501,6 @@
#endif
typedef <see below> high_resolution_stopwatch_accumulator;
- typedef <see below> process_real_cpu_stopwatch_accumulator;
- typedef <see below> process_user_cpu_stopwatch_accumulator;
- typedef <see below> process_system_cpu_stopwatch_accumulator;
-
}}
@@ -4414,32 +4508,14 @@
A `stopwatch_accumulator<>` is a model of a __stopwatch_concept__ that allows to accumulate the time in several times instead of at once as it is the case of the class __stopwatch__`<>`.
- template <class Clock> class stopwatch_accumulator {
- public:
- typedef Clock clock;
- typedef typename Clock::duration duration;
- typedef typename Clock::time_point time_point;
- typedef Accumulator accumulator;
-
- stopwatch_accumulator();
-
- time_point start( system::error_code & ec = system::throws );
- duration stop( system::error_code & ec = system::throws );
- std::pair<duration,time_point> restart( system::error_code & ec = system::throws );
-
- duration suspend( system::error_code & ec = system::throws );
- time_point resume( system::error_code & ec = system::throws );
-
- duration elapsed(system::error_code & ec = system::throws);
-
- accumulator& accumulated( );
- void reset();
-
- typedef stopwatch_runner<stopwatch_accumulator<Clock> > scoped_run;
- typedef stopwatch_suspender<stopwatch_accumulator<Clock> > scoped_suspend;
- typedef stopwatch_resumer<stopwatch_accumulator<Clock> > scoped_resume;
- typedef stopwatch_reporter<stopwatch_accumulator<Clock> > reporter;
- };
+ template <class Clock, typename Features, typename Weight>
+ class stopwatch_accumulator
+ : private base_from_member<typename accumulators::accumulator_set<typename Clock::duration::rep, Features, Weight> >,
+ public lightweight_stopwatch<Clock,Features,Weight>
+ {
+ public:
+ stopwatch_accumulator( );
+ };
[section:stopwatch_accumulator_c Constructor `stopwatch_accumulator()`]
@@ -4448,34 +4524,6 @@
[*Effect:] Initialize the elapsed duration and the times counter to 0.
[endsect]
-[section:stopwatch_accumulator_reset Member Function `reset()`]
-
- void reset( );
-
-[*Effect:] Stop the stopwatch and reset the accumulator.
-
-[*Throw:] Nothing.
-
-[endsect]
-[section:stopwatch_accumulator_elapsed Member Function `elapsed()`]
-
- duration elapsed(system::error_code & ec = system::throws) const;
-
-[*Returns:] the cumulated elapsed time.
-
-[*Throw:] Nothing.
-
-[endsect]
-
-[section:stopwatch_accumulator_accumulated Member Function `accumulated()`]
-
- accumulator& accumulated();
-
-[*Returns:] the assocaited accumulator.
-
-[*Throw:] Nothing.
-
-[endsect]
[endsect]
@@ -4511,13 +4559,6 @@
typedef boost::chrono::stopwatch_accumulator< boost::chrono::high_resolution_clock >
high_resolution_stopwatch_accumulator;
- typedef boost::chrono::stopwatch_accumulator< boost::chrono::process_real_cpu_clock >
- process_real_cpu_stopwatch_accumulator;
- typedef boost::chrono::stopwatch_accumulator< boost::chrono::process_user_cpu_clock >
- process_user_cpu_stopwatch_accumulator;
- typedef boost::chrono::stopwatch_accumulator< boost::chrono::process_system_cpu_clock >
- process_system_cpu_stopwatch_accumulator;
-
[endsect]
[endsect]
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="reference/deprecated.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="appendices/history.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="reference/deprecated.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="appendices/history.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
@@ -82,7 +82,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="reference/deprecated.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="appendices/history.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="reference/deprecated.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="appendices/history.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/acknowledgements.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/acknowledgements.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/acknowledgements.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="faq.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="tests.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="faq.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tests.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -79,7 +79,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="faq.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="tests.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="faq.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tests.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/faq.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/faq.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/faq.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -22,14 +22,14 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="implementation.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="implementation.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="boost_chrono.appendices.faq"></a> Appendix D: FAQ
</h3></div></div></div>
<a name="boost_chrono.appendices.faq.how_important_is_the_order_of_the___link_linkend__boost_chrono_reference_cpp0x_common_type_hpp_common_type___code__phrase_role__identifier__common_type__phrase___code___link__lt__gt__template_arguments_"></a><h4>
-<a name="id4948535"></a>
+<a name="id5133341"></a>
<a href="faq.html#boost_chrono.appendices.faq.how_important_is_the_order_of_the___link_linkend__boost_chrono_reference_cpp0x_common_type_hpp_common_type___code__phrase_role__identifier__common_type__phrase___code___link__lt__gt__template_arguments_">How
important is the order of the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a><> template arguments?</a>
@@ -70,7 +70,7 @@
also undefined.
</p>
<a name="boost_chrono.appendices.faq.why_does_stopwatch_reporter_only_display_millisecond_place_precision_when_the_underlying_clock_has_nanosecond_precision_"></a><h4>
-<a name="id4949088"></a>
+<a name="id5133895"></a>
<a href="faq.html#boost_chrono.appendices.faq.why_does_stopwatch_reporter_only_display_millisecond_place_precision_when_the_underlying_clock_has_nanosecond_precision_">Why
does stopwatch_reporter only display millisecond place precision when the
underlying Clock has nanosecond precision?</a>
@@ -81,7 +81,7 @@
dangerously.
</p>
<a name="boost_chrono.appendices.faq.why_does_stopwatch_reporter_sometimes_report_more_cpu_seconds_than_real_seconds_"></a><h4>
-<a name="id4949130"></a>
+<a name="id5133936"></a>
<a href="faq.html#boost_chrono.appendices.faq.why_does_stopwatch_reporter_sometimes_report_more_cpu_seconds_than_real_seconds_">Why
does stopwatch_reporter sometimes report more cpu seconds than real seconds?</a>
</h4>
@@ -91,7 +91,7 @@
be reporting at times.
</p>
<a name="boost_chrono.appendices.faq.can_i_obtain_statistics_of_the_time_elapsed_between_calls_to_a_function_"></a><h4>
-<a name="id4949164"></a>
+<a name="id5133970"></a>
<a href="faq.html#boost_chrono.appendices.faq.can_i_obtain_statistics_of_the_time_elapsed_between_calls_to_a_function_">Can
I obtain statistics of the time elapsed between calls to a function?</a>
</h4>
@@ -99,13 +99,13 @@
The library do not provides this feature.
</p>
<a name="boost_chrono.appendices.faq.what_happens_if_i_press_ctrl_c_and_program_terminates__what_log_would_boost_chrono_output_"></a><h4>
-<a name="id4949192"></a>
+<a name="id5133998"></a>
<a href="faq.html#boost_chrono.appendices.faq.what_happens_if_i_press_ctrl_c_and_program_terminates__what_log_would_boost_chrono_output_">What
happens if I press Ctrl+C and program terminates? What log would Boost.chrono
output?</a>
</h4>
<a name="boost_chrono.appendices.faq.can_you_explain_the_pros_cons_of___link_linkend__boost_chrono_reference_cpp0x_common_type_hpp_common_type___code__phrase_role__identifier__common_type__phrase___code___link__against_boost_typeof_"></a><h4>
-<a name="id4949221"></a>
+<a name="id5134028"></a>
<a href="faq.html#boost_chrono.appendices.faq.can_you_explain_the_pros_cons_of___link_linkend__boost_chrono_reference_cpp0x_common_type_hpp_common_type___code__phrase_role__identifier__common_type__phrase___code___link__against_boost_typeof_">Can
you explain the pros/cons of <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a> against Boost.Typeof?</a>
@@ -154,7 +154,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="implementation.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="implementation.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="acknowledgements.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/history.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/history.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/history.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../appendices.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../appendices.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -60,36 +60,38 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Implementation of <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
- Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a> without using Boost.TypeOf.
- </li>
+ Implementation of <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
+ Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a> without using
+ Boost.TypeOf.
+ </li>
<li>
- Added <a href="../reference/formatters.html#boost_chrono.reference.formatters.stopwatch_accumulator_time_formatter_hpp.basic_stopwatch_accumulator_time_formatter" title="
+ Added <a href="../reference/formatters.html#boost_chrono.reference.formatters.stopwatch_accumulator_time_formatter_hpp.basic_stopwatch_accumulator_time_formatter" title="
Template Class basic_stopwatch_accumulator_time_formatter<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator_time_formatter</span></code></a>
- class.
- </li>
+ class.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Old Features:</strong></span>
</p>
<div class="itemizedlist"><ul type="disc"><li>
- Type reporter removed from Stopwatches as well as the get_reporter metafunction.
- </li></ul></div>
+ Type reporter removed from Stopwatches as well as the get_reporter
+ metafunction.
+ </li></ul></div>
<p>
<span class="bold"><strong>Bug Fixes</strong></span>
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- __process_cpu<span class="underline">clock</span>_ is now a valid
- model of Clock that can be used with __stopclocks<span class="underline">accumulator</span>_.
- </li>
-<li>
- eliminate or suppress a lot of warnings appearing with with warnings=all
- -Wextra
- </li>
+ __process_cpu<span class="underline">clock</span>_ is now a
+ valid model of Clock that can be used with __stopclocks<span class="underline">accumulator</span>_.
+ </li>
+<li>
+ eliminate or suppress a lot of warnings appearing with with warnings=all
+ -Wextra
+ </li>
<li>
- improve the error code handling
- </li>
+ improve the error code handling
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -103,47 +105,47 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Overview rewriting
- </li>
+ Overview rewriting
+ </li>
<li>
- Added missing <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
+ Added missing <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a> reference.
- </li>
+ </li>
<li>
- How to implement a <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
+ How to implement a <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a> tutorial removed.
- </li>
+ </li>
<li>
- References section renamed to External Resources.
- </li>
+ References section renamed to External Resources.
+ </li>
<li>
- Added links to source examples.
- </li>
+ Added links to source examples.
+ </li>
<li>
- Added links between Models and Concepts.
- </li>
+ Added links between Models and Concepts.
+ </li>
<li>
- Added macros descriptions.
- </li>
+ Added macros descriptions.
+ </li>
<li>
- Cleanup.
- </li>
+ Cleanup.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Bug Fixes</strong></span>
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Valgrind fixes: "Conditional jump or move depends on uninitialised
- value(s)"
- </li>
-<li>
- Take care of Boost.System break on version 1.44
- </li>
-<li>
- gcc.4.4 "warning: suggest parentheses around '&&' within
- '||' " removal.
- </li>
+ Valgrind fixes: "Conditional jump or move depends on uninitialised
+ value(s)"
+ </li>
+<li>
+ Take care of Boost.System break on version 1.44
+ </li>
+<li>
+ gcc.4.4 "warning: suggest parentheses around '&&' within
+ '||' " removal.
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -157,13 +159,13 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="identifier">scoped_suspend</span></code> warning
- removal
- </li>
-<li>
-<code class="computeroutput"><span class="identifier">error_code</span></code> management
- completed
- </li>
+ <code class="computeroutput"><span class="identifier">scoped_suspend</span></code> warning
+ removal
+ </li>
+<li>
+ <code class="computeroutput"><span class="identifier">error_code</span></code> management
+ completed
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -176,17 +178,17 @@
<span class="bold"><strong>Bug Fixes</strong></span>
</p>
<div class="itemizedlist"><ul type="disc"><li>
- boost/thread/detail/cv_status.hpp file was not commited.
- </li></ul></div>
+ boost/thread/detail/cv_status.hpp file was not commited.
+ </li></ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_chrono.appendices.history.__version_0_4_2__june_18__2010____packaging_fixe_"></a>Version 0.4.2, June 18, 2010 Packaging fixe
</h4></div></div></div>
<div class="itemizedlist"><ul type="disc"><li>
- Boost.Conversion library, used by Boost.Thread porting to Boost.Chrono
- was not packaged.
- </li></ul></div>
+ Boost.Conversion library, used by Boost.Thread porting to Boost.Chrono
+ was not packaged.
+ </li></ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
@@ -199,13 +201,13 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Added <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
+ Added <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a> implementation
- on Windows.
- </li>
+ on Windows.
+ </li>
<li>
- Added <span class="bold"><strong>Boost.Thread</strong></span> using <span class="bold"><strong>Boost.Chrono</strong></span>.
- </li>
+ Added <span class="bold"><strong>Boost.Thread</strong></span> using <span class="bold"><strong>Boost.Chrono</strong></span>.
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -219,30 +221,30 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req" title="
- SuspendibleClock Requirements"><code class="computeroutput"><span class="identifier">SuspendibleClock</span></code></a> concept + template
- class _suspendible<span class="underline">clock</span>_.
- </li>
+ <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req" title="
+ SuspendibleClock Requirements"><code class="computeroutput"><span class="identifier">SuspendibleClock</span></code></a> concept +
+ template class _suspendible<span class="underline">clock</span>_.
+ </li>
<li>
- Added <code class="computeroutput"><span class="identifier">scope_suspend</span></code> which
- do <code class="computeroutput"><span class="identifier">suspend</span></code>/<code class="computeroutput"><span class="identifier">resume</span></code> if the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
+ Added <code class="computeroutput"><span class="identifier">scope_suspend</span></code>
+ which do <code class="computeroutput"><span class="identifier">suspend</span></code>/<code class="computeroutput"><span class="identifier">resume</span></code> if the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
Clock Requirements"><code class="computeroutput"><span class="identifier">Clock</span></code></a> is a model of <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req" title="
- SuspendibleClock Requirements"><code class="computeroutput"><span class="identifier">SuspendibleClock</span></code></a> concept, and
- nothing otherwise.
- </li>
+ SuspendibleClock Requirements"><code class="computeroutput"><span class="identifier">SuspendibleClock</span></code></a> concept,
+ and nothing otherwise.
+ </li>
<li>
-<a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
+ <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a> support on platforms
- providing it natively.
- </li>
+ providing it natively.
+ </li>
<li>
- Added support for wide character for <a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
+ Added support for wide character for <a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
Template Class stopwatch_reporter<>"><code class="computeroutput"><span class="identifier">stopwatch_reporter</span></code></a>, <code class="computeroutput"><span class="identifier">stopclock</span></code>, and <code class="computeroutput"><span class="identifier">stopclock_accumulator</span></code>.
- </li>
+ </li>
<li>
-<code class="computeroutput"><span class="identifier">digital_time</span></code> renamed
- <code class="computeroutput"><span class="identifier">t24_hours</span></code>.
- </li>
+ <code class="computeroutput"><span class="identifier">digital_time</span></code> renamed
+ <code class="computeroutput"><span class="identifier">t24_hours</span></code>.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Perf</strong></span>
@@ -254,8 +256,8 @@
<span class="bold"><strong>Bug Fixes</strong></span>
</p>
<div class="itemizedlist"><ul type="disc"><li>
- Bug on timeval_demo.
- </li></ul></div>
+ Bug on timeval_demo.
+ </li></ul></div>
<pre class="programlisting"><span class="identifier">time_point</span> <span class="identifier">t</span><span class="special">(</span><span class="identifier">duration</span><span class="special">(</span><span class="identifier">xtime</span><span class="special">(</span><span class="number">0</span><span class="special">)));</span> <span class="comment">// this was taken as a function declaration
</span><span class="identifier">gettimeofday</span><span class="special">((</span><span class="identifier">timeval</span><span class="special">*)&</span><span class="identifier">t</span><span class="special">,</span> <span class="number">0</span><span class="special">);</span>
<span class="keyword">return</span> <span class="identifier">t</span><span class="special">;</span>
@@ -270,9 +272,9 @@
<span class="keyword">return</span> <span class="identifier">time_point</span><span class="special">(</span><span class="identifier">duration</span><span class="special">(</span><span class="identifier">xt</span><span class="special">));</span>
</pre>
<div class="itemizedlist"><ul type="disc"><li>
- Bug on run_timer_test (add a global variable to avoid optimization that
- removes completely the code to be measured
- </li></ul></div>
+ Bug on run_timer_test (add a global variable to avoid optimization
+ that removes completely the code to be measured
+ </li></ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
@@ -285,11 +287,11 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Added overloading for <code class="computeroutput"><span class="keyword">operator</span><span class="special">/(</span><span class="identifier">Integer</span><span class="special">/</span><span class="identifier">Duration</span><span class="special">)</span></code>
-</li>
+ Added overloading for <code class="computeroutput"><span class="keyword">operator</span><span class="special">/(</span><span class="identifier">Integer</span><span class="special">/</span><span class="identifier">Duration</span><span class="special">)</span></code>
+ </li>
<li>
- Added frequency, lifetime and percentage to the default <code class="computeroutput"><span class="identifier">stopwatch_accumulator_formatter</span></code>.
- </li>
+ Added frequency, lifetime and percentage to the default <code class="computeroutput"><span class="identifier">stopwatch_accumulator_formatter</span></code>.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Bug Fixes</strong></span> * Specific formatters didn't
@@ -311,12 +313,12 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Support for wide characters on formatters and stopclocks
- </li>
+ Support for wide characters on formatters and stopclocks
+ </li>
<li>
- added <code class="computeroutput"><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">hpp</span></code> and <code class="computeroutput"><span class="identifier">stopwatches</span><span class="special">.</span><span class="identifier">hpp</span></code>
- at the boost level
- </li>
+ added <code class="computeroutput"><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">hpp</span></code> and <code class="computeroutput"><span class="identifier">stopwatches</span><span class="special">.</span><span class="identifier">hpp</span></code>
+ at the boost level
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -330,113 +332,114 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Added independent process cpu clocks for real, user, system process CPU
- time
- </li>
-<li>
- Added global process cpu clock for real, user, system process CPU time
- </li>
-<li>
- Added <code class="computeroutput"><span class="identifier">digital_time</span></code> (looking
- for a better name)
- </li>
+ Added independent process cpu clocks for real, user, system process
+ CPU time
+ </li>
+<li>
+ Added global process cpu clock for real, user, system process CPU time
+ </li>
+<li>
+ Added <code class="computeroutput"><span class="identifier">digital_time</span></code>
+ (looking for a better name)
+ </li>
<li>
- Added new <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ Added new <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> concept measuring
- elapsed time between different points in time associated to the operations
- <code class="computeroutput"><span class="identifier">start</span></code>, <code class="computeroutput"><span class="identifier">stop</span></code>, <code class="computeroutput"><span class="identifier">suspend</span></code>
- and <code class="computeroutput"><span class="identifier">resume</span></code>.
- </li>
+ elapsed time between different points in time associated to the operations
+ <code class="computeroutput"><span class="identifier">start</span></code>, <code class="computeroutput"><span class="identifier">stop</span></code>, <code class="computeroutput"><span class="identifier">suspend</span></code>
+ and <code class="computeroutput"><span class="identifier">resume</span></code>.
+ </li>
<li>
- Added <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
+ Added <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a> is a model <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> measuring the elapsed
- time between the <code class="computeroutput"><span class="identifier">start</span></code>
- and the <code class="computeroutput"><span class="identifier">stop</span></code> operations.
- </li>
-<li>
- Added <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
- Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a> is a model
- <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ time between the <code class="computeroutput"><span class="identifier">start</span></code>
+ and the <code class="computeroutput"><span class="identifier">stop</span></code> operations.
+ </li>
+<li>
+ Added <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
+ Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a> is a
+ model <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> allowing to accumulate
- several time samples and gives the average, ...
- </li>
+ several time samples and gives the average, ...
+ </li>
<li>
- Added scoped helper classes allowing to pairwise <code class="computeroutput"><span class="identifier">start</span></code><span class="emphasis"><em>`stop`
- operations, `suspend`</em></span><code class="computeroutput"><span class="identifier">resume</span></code>
- and <code class="computeroutput"><span class="identifier">resume</span></code>/<code class="computeroutput"><span class="identifier">suspend</span></code> a <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ Added scoped helper classes allowing to pairwise <code class="computeroutput"><span class="identifier">start</span></code><span class="emphasis"><em>`stop`
+ operations, `suspend`</em></span><code class="computeroutput"><span class="identifier">resume</span></code>
+ and <code class="computeroutput"><span class="identifier">resume</span></code>/<code class="computeroutput"><span class="identifier">suspend</span></code> a <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a>.
- </li>
+ </li>
<li>
- Added new stopwatch Formatter
concept
- <div class="itemizedlist"><ul type="circle">
+ Added new stopwatch Formatter
concept
+ <div class="itemizedlist"><ul type="circle">
<li>
- Added stopwatch formatter "%ds\n"
- </li>
+ Added stopwatch formatter "%ds\n"
+ </li>
<li>
- Added stopwatch accumulator formatter "%c times, sum<code class="literal">%ss,
- min</code>%ms, max<code class="literal">%Ms, mean</code>%as\n"
- </li>
+ Added stopwatch accumulator formatter "%c times, sum<code class="literal">%ss,
+ min</code>%ms, max<code class="literal">%Ms, mean</code>%as\n"
+ </li>
<li>
- Added time formatter "real %rs, cpu %cs (%p%), user %us, system
- %ss\n"
- </li>
+ Added time formatter "real %rs, cpu %cs (%p%), user %us,
+ system %ss\n"
+ </li>
<li>
- Added digital_time formatter "%d days(s) %h:%m:%s.%n\n"
- </li>
+ Added digital_time formatter "%d days(s) %h:%m:%s.%n\n"
+ </li>
</ul></div>
-</li>
+ </li>
<li>
-<a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
+ <a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
Template Class stopwatch_reporter<>"><code class="computeroutput"><span class="identifier">stopwatch_reporter</span></code></a> is a convenient
- generic class reporting elapsed time for the Stopwatch concept.
- </li>
+ generic class reporting elapsed time for the Stopwatch concept.
+ </li>
<li>
- Added <code class="computeroutput"><span class="identifier">stopclock</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span></code>
- shortcut <code class="computeroutput"><span class="identifier">stopwatch_reporter</span><span class="special"><</span><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">>></span></code>
-</li>
+ Added <code class="computeroutput"><span class="identifier">stopclock</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span></code>
+ shortcut <code class="computeroutput"><span class="identifier">stopwatch_reporter</span><span class="special"><</span><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">>></span></code>
+ </li>
<li>
- Added <a href="../reference/reporters.html#boost_chrono.reference.reporters.scoped_stopclock_hpp.scoped_stopclock" title="
+ Added <a href="../reference/reporters.html#boost_chrono.reference.reporters.scoped_stopclock_hpp.scoped_stopclock" title="
Template Class scoped_stopclock<>"><code class="computeroutput"><span class="identifier">scoped_stopclock</span></code></a> which trace
- at the constuctor and destructor.
- </li>
+ at the constuctor and destructor.
+ </li>
<li>
- Added <code class="computeroutput"><span class="identifier">typeof</span></code> registration
- for classes <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Added <code class="computeroutput"><span class="identifier">typeof</span></code> registration
+ for classes <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> and <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a>
-</li>
+ </li>
<li>
- The old classes <code class="computeroutput"><span class="identifier">process_times</span></code>,
- <code class="computeroutput"><span class="identifier">process_clock</span></code>, <code class="computeroutput"><span class="identifier">process_timer</span></code>, <code class="computeroutput"><span class="identifier">timer</span></code>
- and <code class="computeroutput"><span class="identifier">run_timer</span></code> are deprecated
- as the preceding additions are more generic. However for backward compatibility
- they preserved until inclusion of the library in Boost. Next follows
- the equivalences:
- <div class="itemizedlist"><ul type="circle">
-<li>
-<code class="computeroutput"><span class="identifier">timer</span><span class="special"><></span></code>
- ~ <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><></span></code>
-</li>
-<li>
-<code class="computeroutput"><span class="identifier">process_timer</span></code> ~
- <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">process_cpu_clock</span><span class="special">></span></code>
-</li>
-<li>
-<code class="computeroutput"><span class="identifier">run_timer</span></code> ~ <code class="computeroutput"><span class="identifier">stopclock</span><span class="special"><></span></code>
-</li>
+ The old classes <code class="computeroutput"><span class="identifier">process_times</span></code>,
+ <code class="computeroutput"><span class="identifier">process_clock</span></code>, <code class="computeroutput"><span class="identifier">process_timer</span></code>, <code class="computeroutput"><span class="identifier">timer</span></code>
+ and <code class="computeroutput"><span class="identifier">run_timer</span></code> are deprecated
+ as the preceding additions are more generic. However for backward compatibility
+ they preserved until inclusion of the library in Boost. Next follows
+ the equivalences:
+ <div class="itemizedlist"><ul type="circle">
+<li>
+ <code class="computeroutput"><span class="identifier">timer</span><span class="special"><></span></code>
+ ~ <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><></span></code>
+ </li>
+<li>
+ <code class="computeroutput"><span class="identifier">process_timer</span></code>
+ ~ <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">process_cpu_clock</span><span class="special">></span></code>
+ </li>
+<li>
+ <code class="computeroutput"><span class="identifier">run_timer</span></code> ~
+ <code class="computeroutput"><span class="identifier">stopclock</span><span class="special"><></span></code>
+ </li>
</ul></div>
-</li>
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Bug Fixes</strong></span>
</p>
<div class="itemizedlist"><ul type="disc"><li>
- Try to correct warning "C4251: 'boost::chrono::run_timer::m_format'
- : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface
- to be used by clients of class 'boost::chrono::run_timer'", by don't
- including inlines functions using the std::string <code class="computeroutput"><span class="identifier">m_format</span></code>.
- </li></ul></div>
+ Try to correct warning "C4251: 'boost::chrono::run_timer::m_format'
+ : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have
+ dll-interface to be used by clients of class 'boost::chrono::run_timer'",
+ by don't including inlines functions using the std::string <code class="computeroutput"><span class="identifier">m_format</span></code>.
+ </li></ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
@@ -447,57 +450,58 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Replace <code class="computeroutput"><span class="identifier">INTMAX_C</span></code> by
- <code class="computeroutput"><span class="identifier">BOOST_INTMAX_C</span></code> until
- <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">cstdint</span><span class="special">.</span><span class="identifier">hpp</span></code> ensures <code class="computeroutput"><span class="identifier">INTMAX_C</span></code>
- is always defined.
- </li>
-<li>
- Define __BOOST_CHRONO_HAS_CLOCK<span class="underline">MONOTONIC</span>_
- when <code class="computeroutput"><span class="identifier">BOOST_CHRONO_WINDOWS_API</span></code>
-</li>
-<li>
- Commenting invalid operator declarations
- </li>
-<li>
- Take care of Boost <code class="computeroutput"><span class="identifier">min</span></code>/<code class="computeroutput"><span class="identifier">max</span></code> recommendations
- </li>
-<li>
- Complete qualification when defining nested typedef duration on clocks
- to avoid the following compile error:
- </li>
+ Replace <code class="computeroutput"><span class="identifier">INTMAX_C</span></code> by
+ <code class="computeroutput"><span class="identifier">BOOST_INTMAX_C</span></code> until
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">cstdint</span><span class="special">.</span><span class="identifier">hpp</span></code> ensures <code class="computeroutput"><span class="identifier">INTMAX_C</span></code>
+ is always defined.
+ </li>
+<li>
+ Define __BOOST_CHRONO_HAS_CLOCK<span class="underline">MONOTONIC</span>_
+ when <code class="computeroutput"><span class="identifier">BOOST_CHRONO_WINDOWS_API</span></code>
+ </li>
+<li>
+ Commenting invalid operator declarations
+ </li>
+<li>
+ Take care of Boost <code class="computeroutput"><span class="identifier">min</span></code>/<code class="computeroutput"><span class="identifier">max</span></code> recommendations
+ </li>
+<li>
+ Complete qualification when defining nested typedef duration on clocks
+ to avoid the following compile error:
+ </li>
</ul></div>
<pre class="programlisting"><span class="special">./</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">:</span><span class="number">945</span><span class="special">:</span> <span class="identifier">error</span><span class="special">:</span> <span class="identifier">declaration</span> <span class="identifier">of</span> <span class="char">'typedef class boost::chrono::duration<long long int, boost::__ratio__<1ll, 10000000ll> > boost::chrono::system_clock::duration'</span>
<span class="special">./</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">:</span><span class="number">458</span><span class="special">:</span> <span class="identifier">error</span><span class="special">:</span> <span class="identifier">changes</span> <span class="identifier">meaning</span> <span class="identifier">of</span> <span class="char">'duration'</span> <span class="identifier">from</span> <span class="char">'class boost::chrono::duration<long long int, boost::__ratio__<1ll, 10000000ll> >'</span>
</pre>
<div class="itemizedlist"><ul type="disc">
<li>
- cleanup of simulated...
- </li>
+ cleanup of simulated...
+ </li>
<li>
- warning removal on <code class="computeroutput"><span class="identifier">posix</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>.
- </li>
+ warning removal on <code class="computeroutput"><span class="identifier">posix</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>.
+ </li>
<li>
- disable VC++ foolishness.
- </li>
+ disable VC++ foolishness.
+ </li>
<li>
- Update Jamfiles to manage with dll.
- </li>
+ Update Jamfiles to manage with dll.
+ </li>
<li>
- removal of conversion warning in test_duration.
- </li>
+ removal of conversion warning in test_duration.
+ </li>
<li>
- manage with MSVC reporting a warning instead of an error when there is
- an integral constant overflow.
- </li>
+ manage with MSVC reporting a warning instead of an error when there
+ is an integral constant overflow.
+ </li>
<li>
- Use <code class="computeroutput"><span class="identifier">STATIC_ASSERT</span></code> specific
- macro to solve the compile failing issue.
- </li>
+ Use <code class="computeroutput"><span class="identifier">STATIC_ASSERT</span></code> specific
+ macro to solve the compile failing issue.
+ </li>
<li>
- Qualify with <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">detail</span></code><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">detail</span></code>
- to avoid ambiguities with MSVC.
- </li>
+ Qualify with <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">detail</span></code>
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">detail</span></code> to avoid ambiguities with
+ MSVC.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Documentation:</strong></span>
@@ -517,98 +521,99 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Added <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ Added <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a> construction and assignment
- from an equivalent <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ from an equivalent <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a> (<a href="http://home.roadrunner.com/~hinnant/issue_review/lwg-active.html#1281" target="_top"><span class="bold"><strong>LWG 1281. CopyConstruction and Assignment between ratios
- having the same normalized form</strong></span></a>)
- </li>
+ having the same normalized form</strong></span></a>)
+ </li>
<li>
- Added nested <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ Added nested <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a> typedef type (<a href="http://home.roadrunner.com/~hinnant/issue_review/lwg-active.html#1281" target="_top"><span class="bold"><strong>LWG 1281. CopyConstruction and Assignment between ratios
- having the same normalized form</strong></span></a>)
- </li>
+ having the same normalized form</strong></span></a>)
+ </li>
<li>
- Added __BOOST_CHRONO_HAS_CLOCK<span class="underline">MONOTONIC</span>_
- macro to state if <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
+ Added __BOOST_CHRONO_HAS_CLOCK<span class="underline">MONOTONIC</span>_
+ macro to state if <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
Class monotonic_clock"><code class="computeroutput"><span class="identifier">monotonic_clock</span></code></a> is provided
- on this platform.
- </li>
+ on this platform.
+ </li>
<li>
- Added <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> (LGW 934. duration is missing operator%)
- </li>
-<li>
- Added BOOST_CHRONO_CONSTEXPR when constexpr should be used.
- </li>
-<li>
- Complete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><code class="computeroutput"><span class="keyword">operator</span><span class="special">*</span></code> and <code class="computeroutput"><span class="keyword">operator</span><span class="special">/</span></code>.
- </li>
+ Added <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> (LGW 934. duration is missing operator%)
+ </li>
+<li>
+ Added BOOST_CHRONO_CONSTEXPR when constexpr should be used.
+ </li>
+<li>
+ Complete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> <code class="computeroutput"><span class="keyword">operator</span><span class="special">*</span></code> and <code class="computeroutput"><span class="keyword">operator</span><span class="special">/</span></code>.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Implementation:</strong></span>
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Use <code class="computeroutput"><span class="identifier">INTMAC_C</span></code> to name
- <code class="computeroutput"><span class="identifier">intmax_t</span></code> constants instead
- of <code class="computeroutput"><span class="identifier">LL</span></code>.
- </li>
-<li>
- Separate <code class="computeroutput"><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code> on # files <code class="computeroutput"><span class="identifier">win</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>,
- <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code> and <code class="computeroutput"><span class="identifier">posix</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>
- to make easier the maintenance on different platforms.
- </li>
-<li>
- Separate <code class="computeroutput"><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>
- on # files <code class="computeroutput"><span class="identifier">win</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>, <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>
- and <code class="computeroutput"><span class="identifier">posix</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code> to make easier the maintenace on
- different platforms.
- </li>
-<li>
- Added the <code class="computeroutput"><span class="identifier">error_code</span></code>
- prototype for <code class="computeroutput"><span class="identifier">monotonic_clock</span><span class="special">::</span><span class="identifier">now</span></code>
- for <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>.
- </li>
-<li>
- Fully implement <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code> with error handling.
- </li>
-<li>
- Take care on POSIX systems when <code class="computeroutput"><span class="identifier">CLOCK_MONOTONIC</span></code>
- is not defined.
- </li>
+ Use <code class="computeroutput"><span class="identifier">INTMAC_C</span></code> to name
+ <code class="computeroutput"><span class="identifier">intmax_t</span></code> constants
+ instead of <code class="computeroutput"><span class="identifier">LL</span></code>.
+ </li>
+<li>
+ Separate <code class="computeroutput"><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code> on # files <code class="computeroutput"><span class="identifier">win</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>,
+ <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code> and <code class="computeroutput"><span class="identifier">posix</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>
+ to make easier the maintenance on different platforms.
+ </li>
+<li>
+ Separate <code class="computeroutput"><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>
+ on # files <code class="computeroutput"><span class="identifier">win</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>, <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code>
+ and <code class="computeroutput"><span class="identifier">posix</span><span class="special">/</span><span class="identifier">process_clock</span><span class="special">.</span><span class="identifier">cpp</span></code> to make easier the maintenace
+ on different platforms.
+ </li>
+<li>
+ Added the <code class="computeroutput"><span class="identifier">error_code</span></code>
+ prototype for <code class="computeroutput"><span class="identifier">monotonic_clock</span><span class="special">::</span><span class="identifier">now</span></code>
+ for <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>.
+ </li>
+<li>
+ Fully implement <code class="computeroutput"><span class="identifier">mac</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">.</span><span class="identifier">cpp</span></code>
+ with error handling.
+ </li>
+<li>
+ Take care on POSIX systems when <code class="computeroutput"><span class="identifier">CLOCK_MONOTONIC</span></code>
+ is not defined.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Documentation:</strong></span>
</p>
<div class="itemizedlist"><ul type="disc"><li>
- The documentation is written now using quick-book using as base N2661 - A Foundation to Sleep On .
- </li></ul></div>
+ The documentation is written now using quick-book using as base N2661 - A Foundation to Sleep On .
+ </li></ul></div>
<p>
<span class="bold"><strong>Bug Fixes</strong></span>
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="keyword">operator</span><span class="special">/</span></code>
- was ambiguous: Disambiguate duration <code class="computeroutput"><span class="keyword">operator</span><span class="special">/</span></code>.
- </li>
-<li>
-<code class="computeroutput"><span class="identifier">CLOCK_MONOTONIC</span></code> is not
- defined with cygwin/gcc 3.4: Disable code when __BOOST_CHRONO_HAS_CLOCK<span class="underline">MONOTONIC</span>_ is not defined.
- </li>
-<li>
- result of metafunctions <code class="computeroutput"><span class="identifier">ratio_multiply</span></code>
- and <code class="computeroutput"><span class="identifier">ratio_divide</span></code> were
- not normalized ratios: Use of the nested <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ <code class="computeroutput"><span class="keyword">operator</span><span class="special">/</span></code>
+ was ambiguous: Disambiguate duration <code class="computeroutput"><span class="keyword">operator</span><span class="special">/</span></code>.
+ </li>
+<li>
+ <code class="computeroutput"><span class="identifier">CLOCK_MONOTONIC</span></code> is
+ not defined with cygwin/gcc 3.4: Disable code when __BOOST_CHRONO_HAS_CLOCK<span class="underline">MONOTONIC</span>_ is not defined.
+ </li>
+<li>
+ result of metafunctions <code class="computeroutput"><span class="identifier">ratio_multiply</span></code>
+ and <code class="computeroutput"><span class="identifier">ratio_divide</span></code> were
+ not normalized ratios: Use of the nested <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a> typedef type on <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a> arithmetic operations.
- </li>
+ </li>
<li>
- Copy constructor from similar <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Copy constructor from similar <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> masked the defaulted
- operations: Added duration defaulted implementations
- </li>
+ operations: Added duration defaulted implementations
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -622,59 +627,71 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- The C++0x Standard Library's <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
+ The C++0x Standard Library's <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a>.
- </li>
+ </li>
<li>
- The C++0x Standard Library's compile-time rational arithmetic.
- </li>
+ The C++0x Standard Library's compile-time rational arithmetic.
+ </li>
<li>
- The C++0x Standard Library's time utilities, including:
- <div class="itemizedlist"><ul type="circle">
+ The C++0x Standard Library's time utilities, including:
+ <div class="itemizedlist"><ul type="circle">
<li>
- Class template <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>
-</li>
+ </li>
<li>
- Class template <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ Class template <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a>
-</li>
+ </li>
+<li>
+ Clocks:
+ <div class="itemizedlist"><ul type="square">
+<li>
+ <code class="computeroutput"><span class="identifier">system_clock</span></code>
+ </li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
+ Class monotonic_clock"><code class="computeroutput"><span class="identifier">monotonic_clock</span></code></a>
+ </li>
<li>
- Clocks:
- <div class="itemizedlist"><ul type="square">
-<li><code class="computeroutput"><span class="identifier">system_clock</span></code></li>
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
- Class monotonic_clock"><code class="computeroutput"><span class="identifier">monotonic_clock</span></code></a></li>
-<li><code class="computeroutput"><span class="identifier">high_resolution_clock</span></code></li>
+ <code class="computeroutput"><span class="identifier">high_resolution_clock</span></code>
+ </li>
</ul></div>
-</li>
+ </li>
</ul></div>
-</li>
+ </li>
+<li>
+ Class template timer, with typedefs:
+ <div class="itemizedlist"><ul type="circle">
+<li>
+ <code class="computeroutput"><span class="identifier">system_timer</span></code>
+ </li>
+<li>
+ <code class="computeroutput"><span class="identifier">monotonic_timer</span></code>
+ </li>
<li>
- Class template timer, with typedefs:
- <div class="itemizedlist"><ul type="circle">
-<li><code class="computeroutput"><span class="identifier">system_timer</span></code></li>
-<li><code class="computeroutput"><span class="identifier">monotonic_timer</span></code></li>
-<li><code class="computeroutput"><span class="identifier">high_resolution_timer</span></code></li>
+ <code class="computeroutput"><span class="identifier">high_resolution_timer</span></code>
+ </li>
</ul></div>
-</li>
+ </li>
<li>
- Process clocks and timers:
- <div class="itemizedlist"><ul type="circle">
+ Process clocks and timers:
+ <div class="itemizedlist"><ul type="circle">
<li>
-<code class="computeroutput"><span class="identifier">process_clock</span></code>, capturing
- real, user-CPU, and system-CPU times.
- </li>
+ <code class="computeroutput"><span class="identifier">process_clock</span></code>,
+ capturing real, user-CPU, and system-CPU times.
+ </li>
<li>
-<code class="computeroutput"><span class="identifier">process_timer</span></code>, capturing
- elapsed real, user-CPU, and system-CPU times.
- </li>
+ <code class="computeroutput"><span class="identifier">process_timer</span></code>,
+ capturing elapsed real, user-CPU, and system-CPU times.
+ </li>
<li>
-<code class="computeroutput"><span class="identifier">run_timer</span></code>, convenient
- reporting of process_timer results.
- </li>
+ <code class="computeroutput"><span class="identifier">run_timer</span></code>, convenient
+ reporting of process_timer results.
+ </li>
</ul></div>
-</li>
+ </li>
</ul></div>
</div>
</div>
@@ -688,7 +705,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../appendices.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../appendices.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="rationale.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/implementation.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/implementation.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/implementation.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="rationale.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="rationale.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title">
<a name="boost_chrono.appendices.implementation"></a><a href="implementation.html" title=" Appendix C:
@@ -38,7 +38,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="rationale.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="rationale.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/perf.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/perf.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/perf.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="tickets.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="todo.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="tickets.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="todo.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -69,7 +69,7 @@
with a variable lifetime.
</p>
<a name="boost_chrono.appendices.perf.single_threaded_recursive_function"></a><h4>
-<a name="id4953083"></a>
+<a name="id5137883"></a>
<a href="perf.html#boost_chrono.appendices.perf.single_threaded_recursive_function">Single-Threaded
Recursive function</a>
</h4>
@@ -92,7 +92,7 @@
and thread_clock.
</p>
<a name="boost_chrono.appendices.perf.multi_threaded_recursive_function"></a><h4>
-<a name="id4953134"></a>
+<a name="id5137934"></a>
<a href="perf.html#boost_chrono.appendices.perf.multi_threaded_recursive_function">Multi-Threaded
Recursive function</a>
</h4>
@@ -125,7 +125,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="tickets.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="todo.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="tickets.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="todo.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/rationale.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/rationale.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/rationale.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="history.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="implementation.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="history.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="implementation.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -33,7 +33,7 @@
are an extract from this document.
</p>
<a name="boost_chrono.appendices.rationale.is_it_possible_for_the_user_to_pass_a___link_linkend__boost_chrono_reference_cpp0x_chrono_chrono_hpp_duration___code__phrase_role__identifier__duration__phrase___code___link__to_a_function_with_the_units_being_ambiguous_"></a><h4>
-<a name="id4946862"></a>
+<a name="id5131648"></a>
<a href="rationale.html#boost_chrono.appendices.rationale.is_it_possible_for_the_user_to_pass_a___link_linkend__boost_chrono_reference_cpp0x_chrono_chrono_hpp_duration___code__phrase_role__identifier__duration__phrase___code___link__to_a_function_with_the_units_being_ambiguous_">Is
it possible for the user to pass a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> to a function with the
@@ -46,7 +46,7 @@
<pre class="programlisting"><span class="identifier">f</span><span class="special">(</span><span class="number">3</span><span class="special">);</span> <span class="comment">// Will not compile, 3 is not implicitly convertible to any __duration__
</span></pre>
<a name="boost_chrono.appendices.rationale.why_duration_needs_operator_"></a><h4>
-<a name="id4946962"></a>
+<a name="id5131748"></a>
<a href="rationale.html#boost_chrono.appendices.rationale.why_duration_needs_operator_">Why
duration needs operator%</a>
</h4>
@@ -74,7 +74,7 @@
<span class="special">};</span>
</pre>
<a name="boost_chrono.appendices.rationale.why_ratio_needs_copyconstruction_and_assignment_from_ratios_having_the_same_normalized_form"></a><h4>
-<a name="id4947542"></a>
+<a name="id5132328"></a>
<a href="rationale.html#boost_chrono.appendices.rationale.why_ratio_needs_copyconstruction_and_assignment_from_ratios_having_the_same_normalized_form">Why
ratio needs CopyConstruction and Assignment from ratios having the same normalized
form</a>
@@ -109,7 +109,7 @@
succeeds.
</p>
<a name="boost_chrono.appendices.rationale.why_ratio_needs_the_nested_normalizer_typedef_type"></a><h4>
-<a name="id4947952"></a>
+<a name="id5132737"></a>
<a href="rationale.html#boost_chrono.appendices.rationale.why_ratio_needs_the_nested_normalizer_typedef_type">Why
ratio needs the nested normalizer typedef type</a>
</h4>
@@ -140,7 +140,7 @@
<span class="identifier">r1</span> <span class="special">=</span> <span class="identifier">r2</span><span class="special">;</span> <span class="comment">// compiles as both types are the same.
</span></pre>
<a name="boost_chrono.appendices.rationale.how_reliable_are_these_measures_"></a><h4>
-<a name="id4948197"></a>
+<a name="id5132982"></a>
<a href="rationale.html#boost_chrono.appendices.rationale.how_reliable_are_these_measures_">How
reliable are these measures?</a>
</h4>
@@ -148,14 +148,15 @@
There are three cases which can lead to get unreliable measures:
</p>
<div class="itemizedlist"><ul type="disc"><li>
- It is not possible to measure events that transpire at rates of the same
- order of magnitude as the clock's precision with any reliability. For example,
- a 10ms clock cannot be used reliably to measure elapsed times of tens of
- milliseconds. The library provides a [high_resolution_clock] that gives
- you the highest resolution time available on your platform. That will give
- the best precision, but can only be used for reliable measurement of events
- that elapse about an order of magnitude slower than that clock's precision.
- </li></ul></div>
+ It is not possible to measure events that transpire at rates of the same
+ order of magnitude as the clock's precision with any reliability. For
+ example, a 10ms clock cannot be used reliably to measure elapsed times
+ of tens of milliseconds. The library provides a [high_resolution_clock]
+ that gives you the highest resolution time available on your platform.
+ That will give the best precision, but can only be used for reliable
+ measurement of events that elapse about an order of magnitude slower
+ than that clock's precision.
+ </li></ul></div>
<p>
</p>
@@ -169,27 +170,28 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Using a process clock in a multithreaded application will give elapsed
- time for the process as a whole, including threads other than the calling
- thread. To get time elapsed for a specific thread, use the supplied <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
+ Using a process clock in a multithreaded application will give elapsed
+ time for the process as a whole, including threads other than the calling
+ thread. To get time elapsed for a specific thread, use the supplied
+ <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a> which returns time
- elapsed for the calling thread only, if supported by the platform.
- </li>
+ elapsed for the calling thread only, if supported by the platform.
+ </li>
<li>
- When stopclocks are nested, usually from stopclocks appearing in each of
- several nested function calls, the overhead of the stopclock processing
- begins to be significant relative to run time of the code being measured.
- The innermost measurements remain accurate, but those in the outermost
- layers can measure too much overhead to be trustworthy.
- </li>
+ When stopclocks are nested, usually from stopclocks appearing in each
+ of several nested function calls, the overhead of the stopclock processing
+ begins to be significant relative to run time of the code being measured.
+ The innermost measurements remain accurate, but those in the outermost
+ layers can measure too much overhead to be trustworthy.
+ </li>
<li>
- Nested stopclocks (usually nested function calls where each function contains
- a stopclock). When the nesting is deep enough, the cumulative overhead
- of all the stopclock functionality make the data unreliable except for
- the inner-most trace points. The question is, how much time is related
- to the application code we want to measure and how much to the fact we
- are meassuring and logging in inner blocks?
- </li>
+ Nested stopclocks (usually nested function calls where each function
+ contains a stopclock). When the nesting is deep enough, the cumulative
+ overhead of all the stopclock functionality make the data unreliable
+ except for the inner-most trace points. The question is, how much time
+ is related to the application code we want to measure and how much to
+ the fact we are meassuring and logging in inner blocks?
+ </li>
</ul></div>
<p>
Most of the stopclock overhead is likely due to logging. There are two things
@@ -197,22 +199,22 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Don't flush log information while measuring elapsed time. A <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
+ Don't flush log information while measuring elapsed time. A <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a> can make
- that possible, because it don't report until all the measures have been
- compiled and then report some statistics. Alternatively, an asynchronous
- stream would permit normal logging but by a thread other than the one being
- measured.
- </li>
+ that possible, because it don't report until all the measures have been
+ compiled and then report some statistics. Alternatively, an asynchronous
+ stream would permit normal logging but by a thread other than the one
+ being measured.
+ </li>
<li>
- Add a mechanism to track the difference between the application time and
- stopclock time. If a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
+ Add a mechanism to track the difference between the application time
+ and stopclock time. If a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
Clock Requirements"><code class="computeroutput"><span class="identifier">Clock</span></code></a> models <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req" title="
SuspendibleClock Requirements"><code class="computeroutput"><span class="identifier">SuspendibleClock</span></code></a> and its precision
- is sufficiently fine, this mechanism could suspend the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
+ is sufficiently fine, this mechanism could suspend the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
Clock Requirements"><code class="computeroutput"><span class="identifier">Clock</span></code>'s</a> counting while reporting
- measurements and resume it thereafter.
- </li>
+ measurements and resume it thereafter.
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -225,7 +227,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="history.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="implementation.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="history.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="implementation.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tests.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tests.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tests.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="acknowledgements.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="tickets.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="acknowledgements.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tickets.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -1215,7 +1215,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="acknowledgements.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="tickets.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="acknowledgements.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tickets.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tickets.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tickets.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tickets.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="tests.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="perf.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="tests.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="perf.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -534,8 +534,6 @@
warning: suggest parentheses around '&&' within '||' ....../boost/chrono/chrono.hpp:816:
warning: suggest parentheses around '&&' within '||'
</p>
- <p>
- </p>
</td>
<td>
<p>
@@ -560,8 +558,6 @@
</p>
</td>
<td>
- <p>
- </p>
</td>
<td>
<p>
@@ -716,7 +712,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="tests.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="perf.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="tests.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="perf.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/todo.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/todo.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/todo.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -19,41 +19,41 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="perf.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a>
+<a accesskey="p" href="perf.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="boost_chrono.appendices.todo"></a> Appendix I: Future plans
</h3></div></div></div>
<a name="boost_chrono.appendices.todo.tasks_to_do_before_review"></a><h4>
-<a name="id4953200"></a>
+<a name="id5138000"></a>
<a href="todo.html#boost_chrono.appendices.todo.tasks_to_do_before_review">Tasks
to do before review</a>
</h4>
<div class="itemizedlist"><ul type="disc">
<li>
- Complete documentation
- </li>
+ Complete documentation
+ </li>
<li>
- Fully implement error handling, with test cases.
- </li>
+ Fully implement error handling, with test cases.
+ </li>
<li>
- Fix open isues.
- </li>
+ Fix open isues.
+ </li>
</ul></div>
<a name="boost_chrono.appendices.todo.for_later_releases"></a><h4>
-<a name="id4953239"></a>
+<a name="id5138049"></a>
<a href="todo.html#boost_chrono.appendices.todo.for_later_releases">For later
releases</a>
</h4>
<div class="itemizedlist"><ul type="disc">
<li>
- Use of C++0x feature constexpr, when available.
- </li>
+ Use of C++0x feature constexpr, when available.
+ </li>
<li>
- Define a C++98 variadic template emmulation of <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
+ Define a C++98 variadic template emmulation of <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a>
-</li>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -66,7 +66,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="perf.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a>
+<a accesskey="p" href="perf.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../appendices.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../index.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="overview/motivation.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../index.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overview/motivation.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
@@ -30,27 +30,15 @@
<dt><span class="section">Motivation</span></dt>
<dt><span class="section">Description</span></dt>
</dl></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- “<span class="quote">What is time, then? If nobody asks me, I know; if I have to explain
- it to someone who has asked me, I do not know.</span>”
- </p>
-<p>
- </p>
-</blockquote></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="bold"><strong><span class="emphasis"><em>-- Augustine </em></span></strong></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ “<span class="quote">What is time, then? If nobody asks me, I know; if I have to explain
+ it to someone who has asked me, I do not know.</span>”
+ </p></blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="bold"><strong><span class="emphasis"><em>-- Augustine </em></span></strong></span>
+ </p></blockquote></div>
<a name="boost_chrono.overview.how_to_use_this_documentation"></a><h3>
-<a name="id4765053"></a>
+<a name="id4948604"></a>
<a href="overview.html#boost_chrono.overview.how_to_use_this_documentation">How to
Use This Documentation</a>
</h3>
@@ -59,33 +47,34 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Code is in <code class="computeroutput"><span class="identifier">fixed</span> <span class="identifier">width</span>
- <span class="identifier">font</span></code> and is syntax-highlighted.
- </li>
-<li>
- Replaceable text that you will need to supply is in <em class="replaceable"><code>italics</code></em>.
- </li>
-<li>
- Free functions are rendered in the code font followed by (), as in free_function().
- </li>
-<li>
- If a name refers to a class template, it is specified like this: <code class="computeroutput"><span class="identifier">class_template</span><span class="special"><></span></code>;
- that is, it is in code font and its name is followed by <code class="computeroutput"><span class="special"><></span></code>
- to indicate that it is a class template.
- </li>
-<li>
- If a name refers to a function-like macro, it is specified like this: <code class="computeroutput"><span class="identifier">MACRO</span><span class="special">()</span></code>;
- that is, it is uppercase in code font and its name is followed by <code class="computeroutput"><span class="special">()</span></code> to indicate that it is a function-like
- macro. Object-like macros appear without the trailing <code class="computeroutput"><span class="special">()</span></code>.
- </li>
-<li>
- Names that refer to <span class="emphasis"><em>concepts</em></span> in the generic programming
- sense are specified in CamelCase.
- </li>
+ Code is in <code class="computeroutput"><span class="identifier">fixed</span> <span class="identifier">width</span>
+ <span class="identifier">font</span></code> and is syntax-highlighted.
+ </li>
+<li>
+ Replaceable text that you will need to supply is in <em class="replaceable"><code>italics</code></em>.
+ </li>
+<li>
+ Free functions are rendered in the code font followed by (), as in free_function().
+ </li>
+<li>
+ If a name refers to a class template, it is specified like this: <code class="computeroutput"><span class="identifier">class_template</span><span class="special"><></span></code>;
+ that is, it is in code font and its name is followed by <code class="computeroutput"><span class="special"><></span></code>
+ to indicate that it is a class template.
+ </li>
+<li>
+ If a name refers to a function-like macro, it is specified like this:
+ <code class="computeroutput"><span class="identifier">MACRO</span><span class="special">()</span></code>;
+ that is, it is uppercase in code font and its name is followed by <code class="computeroutput"><span class="special">()</span></code> to indicate that it is a function-like
+ macro. Object-like macros appear without the trailing <code class="computeroutput"><span class="special">()</span></code>.
+ </li>
+<li>
+ Names that refer to <span class="emphasis"><em>concepts</em></span> in the generic programming
+ sense are specified in CamelCase.
+ </li>
</ul></div>
<div class="note"><table border="0" summary="Note">
<tr>
-<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../doc/html/images/note.png"></td>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../doc/src/images/note.png"></td>
<th align="left">Note</th>
</tr>
<tr><td align="left" valign="top"><p>
@@ -110,7 +99,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../index.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="overview/motivation.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../index.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overview/motivation.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/description.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/description.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/description.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="motivation.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../users_guide.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="motivation.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../users_guide.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -31,39 +31,39 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- A means to represent time durations: managed by the generic <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> class . Examples of time
- durations include <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ A means to represent time durations: managed by the generic <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> class . Examples of
+ time durations include <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
duration typedefs"><code class="computeroutput"><span class="identifier">days</span></code></a>, <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
duration typedefs"><code class="computeroutput"><span class="identifier">minutes</span></code></a>, <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
duration typedefs"><code class="computeroutput"><span class="identifier">seconds</span></code></a> and <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
duration typedefs"><code class="computeroutput"><span class="identifier">nanoseconds</span></code></a>, which can be represented
- with a fixed number of clock ticks per unit. All of these units of time
- duration are united with a generic interface by the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ with a fixed number of clock ticks per unit. All of these units of time
+ duration are united with a generic interface by the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> facility.
- </li>
+ </li>
<li>
- A type for representing points in time: <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ A type for representing points in time: <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a>. A <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> represents an epoch
- plus or minus a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>. The library leaves epochs
- unspecified. A <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ plus or minus a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>. The library leaves
+ epochs unspecified. A <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> is associated with
- a <span class="emphasis"><em>clock</em></span>.
- </li>
+ a <span class="emphasis"><em>clock</em></span>.
+ </li>
<li>
- Several clocks, some of which may not be available on a particular platform:
- <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.system_clock" title="
+ Several clocks, some of which may not be available on a particular platform:
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.system_clock" title="
Class system_clock"><code class="computeroutput"><span class="identifier">system_clock</span></code></a>, <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
Class monotonic_clock"><code class="computeroutput"><span class="identifier">monotonic_clock</span></code></a> and <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.high_resolution_clock" title="
Class high_resolution_clock"><code class="computeroutput"><span class="identifier">high_resolution_clock</span></code></a>. A clock
- is a pairing of a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ is a pairing of a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> and <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>, and a function which
- returns a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ returns a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> representing <span class="emphasis"><em>now</em></span>.
- </li>
+ </li>
</ul></div>
<p>
Additionally, a minimal amount of general purpose infrastructure is provided
@@ -76,20 +76,21 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.common_type_hpp.common_type" title="
Class Template common_type<>"><code class="computeroutput"><span class="identifier">common_type</span></code></a> is a traits class
- used to deduce a type common to a several types, useful as the return type
- of functions operating on multiple input types such as in mixed-mode arithmetic.
- </li>
+ used to deduce a type common to a several types, useful as the return
+ type of functions operating on multiple input types such as in mixed-mode
+ arithmetic.
+ </li>
<li>
- A class template, <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ A class template, <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a>, for specifying compile
- time rational constants such as 1/3 of a nanosecond or the number of inches
- per meter. <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ time rational constants such as 1/3 of a nanosecond or the number of
+ inches per meter. <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a> represents a compile time
- ratio of compile time constants with support for compile time arithmetic
- with overflow and division by zero protection
- </li>
+ ratio of compile time constants with support for compile time arithmetic
+ with overflow and division by zero protection
+ </li>
</ul></div>
<p>
Knowing how long a program takes to execute is useful in both test and production
@@ -98,54 +99,54 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- Stopwatches: A facility to measure elapsed time with the ability to start,
- stop, suspend, or resume measurement.
- <div class="itemizedlist"><ul type="circle">
+ Stopwatches: A facility to measure elapsed time with the ability to start,
+ stop, suspend, or resume measurement.
+ <div class="itemizedlist"><ul type="circle">
<li>
-<a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> concept
- </li>
+ </li>
<li>
- Scoped helper classes allowing to pairwise start/stop operations, suspend/resume
- and resume/suspend a <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ Scoped helper classes allowing to pairwise start/stop operations,
+ suspend/resume and resume/suspend a <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a>.
- </li>
+ </li>
<li>
-<a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
+ <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a>, model of <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> capturing elapsed
- <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.clock" title="
Clock Requirements"><code class="computeroutput"><span class="identifier">Clock</span></code></a> times.
- </li>
+ </li>
<li>
-<a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
- Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a>, model
- of <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
+ Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a>,
+ model of <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> capturing cummulated
- elapsed Clock times.
- </li>
+ elapsed Clock times.
+ </li>
</ul></div>
-</li>
+ </li>
<li>
- a Stopclocks higher layer: provide a complete stopclock reporting package
- that can be invoked in a single line of code.
- <div class="itemizedlist"><ul type="circle">
+ a Stopclocks higher layer: provide a complete stopclock reporting package
+ that can be invoked in a single line of code.
+ <div class="itemizedlist"><ul type="circle">
<li>
-<a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
+ <a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
Template Class stopwatch_reporter<>"><code class="computeroutput"><span class="identifier">stopwatch_reporter</span></code></a>, convenient
- reporting to an output stream (including wide char streams) of the
- elapsed time of models of <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
+ reporting to an output stream (including wide char streams) of
+ the elapsed time of models of <a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code></a> results.
- </li>
+ </li>
<li>
-<a href="../reference/reporters.html#boost_chrono.reference.reporters.stopclock_hpp.stopclock" title="
+ <a href="../reference/reporters.html#boost_chrono.reference.reporters.stopclock_hpp.stopclock" title="
Template Class stopclock<>"><code class="computeroutput"><span class="identifier">stopclock</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span></code></a>
- shortcut of <code class="computeroutput"><a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
+ shortcut of <code class="computeroutput"><a href="../reference/reporters.html#boost_chrono.reference.reporters.stopwatch_reporter_hpp.stopwatch_reporter" title="
Template Class stopwatch_reporter<>"><code class="computeroutput"><span class="identifier">stopwatch_reporter</span></code></a><span class="special"><</span><a href="../reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a><span class="special"><</span><span class="identifier">Clock</span><span class="special">>></span></code>
-</li>
+ </li>
</ul></div>
-</li>
+ </li>
</ul></div>
<p>
To make the timing facilities more generally useful, <span class="bold"><strong>Boost.Chrono</strong></span>
@@ -155,27 +156,27 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_real_cpu_clock" title="
+ <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_real_cpu_clock" title="
Class process_real_cpu_clock"><code class="computeroutput"><span class="identifier">process_real_cpu_clock</span></code></a>, captures
- real (wall clock) CPU times.
- </li>
+ real (wall clock) CPU times.
+ </li>
<li>
-<a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_user_cpu_clock" title="
+ <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_user_cpu_clock" title="
Class process_user_cpu_clock"><code class="computeroutput"><span class="identifier">process_user_cpu_clock</span></code></a>, captures
- user-CPU times.
- </li>
+ user-CPU times.
+ </li>
<li>
-<a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_system_cpu_clock" title="
+ <a href="../reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_system_cpu_clock" title="
Class process_system_cpu_clock"><code class="computeroutput"><span class="identifier">process_system_cpu_clock</span></code></a>, captures
- system-CPU times.
- </li>
+ system-CPU times.
+ </li>
<li>
- A tuple-like class <code class="computeroutput"><span class="identifier">process_cpu_clock</span></code>,
- that captures real, user-CPU, and system-CPU times together.
- </li>
+ A tuple-like class <code class="computeroutput"><span class="identifier">process_cpu_clock</span></code>,
+ that captures real, user-CPU, and system-CPU times together.
+ </li>
<li>
- Thread clocks, when supported by a platform.
- </li>
+ Thread clocks, when supported by a platform.
+ </li>
</ul></div>
<p>
Lastly, <span class="bold"><strong>Boost.Chrono</strong></span> includes typeof
@@ -185,7 +186,7 @@
auto with C++03 compilers.
</p>
<a name="boost_chrono.overview.description.caveat_emptor"></a><h4>
-<a name="id4758567"></a>
+<a name="id4942228"></a>
<a href="description.html#boost_chrono.overview.description.caveat_emptor">Caveat emptor</a>
</h4>
<p>
@@ -207,7 +208,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="motivation.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../users_guide.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="motivation.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../users_guide.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/motivation.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/motivation.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/motivation.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,14 +20,14 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../overview.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="description.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../overview.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="description.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="boost_chrono.overview.motivation"></a>Motivation
</h3></div></div></div>
<a name="boost_chrono.overview.motivation.time"></a><h4>
-<a name="id4803389"></a>
+<a name="id4948840"></a>
<a href="motivation.html#boost_chrono.overview.motivation.time">Time</a>
</h4>
<p>
@@ -46,7 +46,7 @@
of a good deal of information in this documentation.
</p>
<a name="boost_chrono.overview.motivation.wall_clock_versus_system_and_user_time"></a><h4>
-<a name="id4803446"></a>
+<a name="id4948898"></a>
<a href="motivation.html#boost_chrono.overview.motivation.wall_clock_versus_system_and_user_time">Wall
clock versus system and user time</a>
</h4>
@@ -58,7 +58,7 @@
this relies on times(). On Windows, it relies on GetProcessTimes().)
</p>
<a name="boost_chrono.overview.motivation.reporting_elapsed_time"></a><h4>
-<a name="id4803478"></a>
+<a name="id4948929"></a>
<a href="motivation.html#boost_chrono.overview.motivation.reporting_elapsed_time">Reporting
elapsed time</a>
</h4>
@@ -81,7 +81,7 @@
one line of code.
</p>
<a name="boost_chrono.overview.motivation.how_reliable_are_these_measures_"></a><h4>
-<a name="id4803594"></a>
+<a name="id4949045"></a>
<a href="motivation.html#boost_chrono.overview.motivation.how_reliable_are_these_measures_">How
reliable are these measures?</a>
</h4>
@@ -108,7 +108,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../overview.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="description.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../overview.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="description.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="users_guide/ext_references.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="reference/cpp0x.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="users_guide/ext_references.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference/cpp0x.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
@@ -61,6 +61,8 @@
Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">stopwatches</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt>
<dt><span class="section"><a href="reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req">
<code class="computeroutput"><span class="identifier">Stopwatch</span></code> Requirements</a></span></dt>
+<dt><span class="section"><a href="reference/stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp">
+ Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">lightweight_stopwatch</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt>
<dt><span class="section"><a href="reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp">
Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">stopwatch</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt>
<dt><span class="section"><a href="reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp">
@@ -115,7 +117,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="users_guide/ext_references.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="reference/cpp0x.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="users_guide/ext_references.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference/cpp0x.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/cpp0x.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/cpp0x.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/cpp0x.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../reference.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="other_clocks.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../reference.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="other_clocks.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -136,20 +136,20 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- BOOST_COMMON_TYPE_USES_STATIC_ASSERT: define it if you want to use
- Boost.StaticAssert
- </li>
-<li>
- BOOST_COMMON_TYPE_USES_MPL_ASSERT: define it if you want to use Boost.MPL
- static asertions
- </li>
-<li>
- BOOST_COMMON_TYPE_USES_ARRAY_ASSERT: define it if you want to use internal
- static asertions
- </li>
+ BOOST_COMMON_TYPE_USES_STATIC_ASSERT: define it if you want to use
+ Boost.StaticAssert
+ </li>
+<li>
+ BOOST_COMMON_TYPE_USES_MPL_ASSERT: define it if you want to use Boost.MPL
+ static asertions
+ </li>
<li>
- nothing if you don't want static asertions
- </li>
+ BOOST_COMMON_TYPE_USES_ARRAY_ASSERT: define it if you want to use
+ internal static asertions
+ </li>
+<li>
+ nothing if you don't want static asertions
+ </li>
</ul></div>
<p>
When BOOST_COMMON_TYPE_USES_MPL_ASSERT is not defined the following symbols
@@ -342,19 +342,19 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- BOOST_RATIO_USES_STATIC_ASSERT: define it if you want to use Boost.StaticAssert
- </li>
+ BOOST_RATIO_USES_STATIC_ASSERT: define it if you want to use Boost.StaticAssert
+ </li>
+<li>
+ BOOST_RATIO_USES_MPL_ASSERT: define it if you want to use Boost.MPL
+ static asertions
+ </li>
<li>
- BOOST_RATIO_USES_MPL_ASSERT: define it if you want to use Boost.MPL
- static asertions
- </li>
-<li>
- BOOST_RATIO_USES_ARRAY_ASSERT: define it if you want to use internal
- static asertions
- </li>
+ BOOST_RATIO_USES_ARRAY_ASSERT: define it if you want to use internal
+ static asertions
+ </li>
<li>
- nothing if you don't want static asertions
- </li>
+ nothing if you don't want static asertions
+ </li>
</ul></div>
<p>
When BOOST_RATIO_USES_MPL_ASSERT is not defined the following symbols
@@ -417,13 +417,13 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="identifier">num</span></code> has the value
- <code class="computeroutput"><span class="identifier">sign</span><span class="special">(</span><span class="identifier">N</span><span class="special">)*</span><span class="identifier">sign</span><span class="special">(</span><span class="identifier">D</span><span class="special">)*</span><span class="identifier">abs</span><span class="special">(</span><span class="identifier">N</span><span class="special">)/</span><span class="identifier">gcd</span></code>.
- </li>
-<li>
-<code class="computeroutput"><span class="identifier">den</span></code> has the value
- <code class="computeroutput"><span class="identifier">abs</span><span class="special">(</span><span class="identifier">D</span><span class="special">)/</span><span class="identifier">gcd</span></code>.
- </li>
+ <code class="computeroutput"><span class="identifier">num</span></code> has the value
+ <code class="computeroutput"><span class="identifier">sign</span><span class="special">(</span><span class="identifier">N</span><span class="special">)*</span><span class="identifier">sign</span><span class="special">(</span><span class="identifier">D</span><span class="special">)*</span><span class="identifier">abs</span><span class="special">(</span><span class="identifier">N</span><span class="special">)/</span><span class="identifier">gcd</span></code>.
+ </li>
+<li>
+ <code class="computeroutput"><span class="identifier">den</span></code> has the value
+ <code class="computeroutput"><span class="identifier">abs</span><span class="special">(</span><span class="identifier">D</span><span class="special">)/</span><span class="identifier">gcd</span></code>.
+ </li>
</ul></div>
<p>
The nested typedef <code class="computeroutput"><span class="identifier">type</span></code>
@@ -846,19 +846,19 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- BOOST_CHRONO_USES_STATIC_ASSERT: define it if you want to use Boost.StaticAssert
- </li>
+ BOOST_CHRONO_USES_STATIC_ASSERT: define it if you want to use Boost.StaticAssert
+ </li>
+<li>
+ BOOST_CHRONO_USES_MPL_ASSERT: define it if you want to use Boost.MPL
+ static asertions
+ </li>
<li>
- BOOST_CHRONO_USES_MPL_ASSERT: define it if you want to use Boost.MPL
- static asertions
- </li>
-<li>
- BOOST_CHRONO_USES_ARRAY_ASSERT: define it if you want to use internal
- static asertions
- </li>
+ BOOST_CHRONO_USES_ARRAY_ASSERT: define it if you want to use internal
+ static asertions
+ </li>
<li>
- nothing if you don't want static asertions
- </li>
+ nothing if you don't want static asertions
+ </li>
</ul></div>
<p>
When BOOST_CHRONO_USES_MPL_ASSERT is not defined the following symbols
@@ -1056,20 +1056,34 @@
Models of Clock:
</p>
<div class="itemizedlist"><ul type="disc">
-<li><a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.system_clock" title="
- Class system_clock"><code class="computeroutput"><span class="identifier">system_clock</span></code></a></li>
-<li><a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
- Class monotonic_clock"><code class="computeroutput"><span class="identifier">monotonic_clock</span></code></a></li>
-<li><a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.high_resolution_clock" title="
- Class high_resolution_clock"><code class="computeroutput"><span class="identifier">high_resolution_clock</span></code></a></li>
-<li><a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_real_cpu_clock" title="
- Class process_real_cpu_clock"><code class="computeroutput"><span class="identifier">process_real_cpu_clock</span></code></a></li>
-<li><a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_user_cpu_clock" title="
- Class process_user_cpu_clock"><code class="computeroutput"><span class="identifier">process_user_cpu_clock</span></code></a></li>
-<li><a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_system_cpu_clock" title="
- Class process_system_cpu_clock"><code class="computeroutput"><span class="identifier">process_system_cpu_clock</span></code></a></li>
-<li><a href="other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
- Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a></li>
+<li>
+ <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.system_clock" title="
+ Class system_clock"><code class="computeroutput"><span class="identifier">system_clock</span></code></a>
+ </li>
+<li>
+ <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.monotonic_clock" title="
+ Class monotonic_clock"><code class="computeroutput"><span class="identifier">monotonic_clock</span></code></a>
+ </li>
+<li>
+ <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.high_resolution_clock" title="
+ Class high_resolution_clock"><code class="computeroutput"><span class="identifier">high_resolution_clock</span></code></a>
+ </li>
+<li>
+ <a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_real_cpu_clock" title="
+ Class process_real_cpu_clock"><code class="computeroutput"><span class="identifier">process_real_cpu_clock</span></code></a>
+ </li>
+<li>
+ <a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_user_cpu_clock" title="
+ Class process_user_cpu_clock"><code class="computeroutput"><span class="identifier">process_user_cpu_clock</span></code></a>
+ </li>
+<li>
+ <a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.process_system_cpu_clock" title="
+ Class process_system_cpu_clock"><code class="computeroutput"><span class="identifier">process_system_cpu_clock</span></code></a>
+ </li>
+<li>
+ <a href="other_clocks.html#boost_chrono.reference.other_clocks.thread_clock_hpp.thread_clock" title="
+ Class thread_clock"><code class="computeroutput"><span class="identifier">thread_clock</span></code></a>
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -1397,23 +1411,23 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ <code class="computeroutput"> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">long</span><span class="special">,</span> <a href="cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a><span class="special"><</span><span class="number">60</span><span class="special">></span> <span class="special">></span></code> holds a count of minutes using
- a long.
- </li>
+ a long.
+ </li>
+<li>
+ <code class="computeroutput"> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">long</span> <span class="keyword">long</span><span class="special">,</span> <span class="identifier">milli</span><span class="special">></span></code> holds a count of milliseconds
+ using a long long.
+ </li>
<li>
-<code class="computeroutput"> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">long</span> <span class="keyword">long</span><span class="special">,</span> <span class="identifier">milli</span><span class="special">></span></code> holds a count of milliseconds using
- a long long.
- </li>
-<li>
-<code class="computeroutput"> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <a href="cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
- Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a><span class="special"><</span><span class="number">1</span><span class="special">,</span> <span class="number">30</span><span class="special">></span> <span class="special">></span></code>
- holds a count using a double with a tick period of 1/30 second (a tick
- frequency of 30 Hz).
- </li>
+ <code class="computeroutput"> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">double</span><span class="special">,</span>
+ <a href="cpp0x.html#boost_chrono.reference.cpp0x.ratio_hpp.ratio" title=" Class
+ Template ratio<>"><code class="computeroutput"><span class="identifier">ratio</span></code></a><span class="special"><</span><span class="number">1</span><span class="special">,</span> <span class="number">30</span><span class="special">></span> <span class="special">></span></code> holds a count using a double
+ with a tick period of 1/30 second (a tick frequency of 30 Hz).
+ </li>
</ul></div>
<p>
The following members of <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
@@ -1436,13 +1450,13 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="identifier">treat_as_floating_point</span><span class="special"><</span><span class="identifier">rep</span><span class="special">>::</span><span class="identifier">value</span></code>
- is <code class="computeroutput"><span class="keyword">true</span></code>, or
- </li>
-<li>
-<code class="computeroutput"><span class="special">!</span><span class="identifier">treat_as_floating_point</span><span class="special"><</span><span class="identifier">rep</span><span class="special">>::</span><span class="identifier">value</span>
- <span class="special">&&</span> <span class="special">!</span><span class="identifier">treat_as_floating_point</span><span class="special"><</span><span class="identifier">Rep2</span><span class="special">>::</span><span class="identifier">value</span></code> is <code class="computeroutput"><span class="keyword">true</span></code>.
- </li>
+ <code class="computeroutput"><span class="identifier">treat_as_floating_point</span><span class="special"><</span><span class="identifier">rep</span><span class="special">>::</span><span class="identifier">value</span></code>
+ is <code class="computeroutput"><span class="keyword">true</span></code>, or
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">!</span><span class="identifier">treat_as_floating_point</span><span class="special"><</span><span class="identifier">rep</span><span class="special">>::</span><span class="identifier">value</span>
+ <span class="special">&&</span> <span class="special">!</span><span class="identifier">treat_as_floating_point</span><span class="special"><</span><span class="identifier">Rep2</span><span class="special">>::</span><span class="identifier">value</span></code> is <code class="computeroutput"><span class="keyword">true</span></code>.
+ </li>
</ul></div>
<p>
If these constraints are not met, this constructor will not participate
@@ -2147,31 +2161,34 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- If <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span> <span class="special">==</span>
- <span class="number">1</span></code> and <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span> <span class="special">==</span> <span class="number">1</span></code>,
- then returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
- <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">()))</span>
- </code>
-</li>
-<li>
- else if <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span> <span class="special">!=</span>
- <span class="number">1</span></code> and <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span> <span class="special">==</span> <span class="number">1</span></code>,
- then returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
- <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">())</span>
- <span class="special">*</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span><span class="special">)))</span></code>
-</li>
-<li>
- else if <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span> <span class="special">==</span>
- <span class="number">1</span></code> and <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span> <span class="special">!=</span> <span class="number">1</span></code>,
- then returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
- <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">())</span>
- <span class="special">/</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span><span class="special">)))</span></code>
-</li>
-<li>
- else returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
- <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">())</span>
- <span class="special">*</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span><span class="special">)</span> <span class="special">/</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span><span class="special">)))</span></code>
-</li>
+ If <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span> <span class="special">==</span>
+ <span class="number">1</span></code> and <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span>
+ <span class="special">==</span> <span class="number">1</span></code>,
+ then returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
+ <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">()))</span>
+ </code>
+ </li>
+<li>
+ else if <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span> <span class="special">!=</span>
+ <span class="number">1</span></code> and <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span>
+ <span class="special">==</span> <span class="number">1</span></code>,
+ then returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
+ <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">())</span>
+ <span class="special">*</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span><span class="special">)))</span></code>
+ </li>
+<li>
+ else if <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span> <span class="special">==</span>
+ <span class="number">1</span></code> and <code class="computeroutput"><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span>
+ <span class="special">!=</span> <span class="number">1</span></code>,
+ then returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
+ <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">())</span>
+ <span class="special">/</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span><span class="special">)))</span></code>
+ </li>
+<li>
+ else returns <code class="computeroutput"><span class="identifier">ToDuration</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">typename</span>
+ <span class="identifier">ToDuration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">>(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">d</span><span class="special">.</span><span class="identifier">count</span><span class="special">())</span>
+ <span class="special">*</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">num</span><span class="special">)</span> <span class="special">/</span> <span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">CR</span><span class="special">>(</span><span class="identifier">CF</span><span class="special">::</span><span class="identifier">den</span><span class="special">)))</span></code>
+ </li>
</ul></div>
<p>
<span class="bold"><strong>Remarks:</strong></span> This function does not rely
@@ -2681,8 +2698,9 @@
Clock Requirements"><code class="computeroutput"><span class="identifier">Clock</span></code> requirements</a>:
</p>
<div class="itemizedlist"><ul type="disc"><li>
-<code class="computeroutput"><span class="identifier">system_clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">::</span><span class="identifier">min</span><span class="special">()</span> <span class="special"><</span> <span class="identifier">system_clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">::</span><span class="identifier">zero</span><span class="special">()</span></code> is <code class="computeroutput"><span class="keyword">true</span></code>.
- </li></ul></div>
+ <code class="computeroutput"><span class="identifier">system_clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">::</span><span class="identifier">min</span><span class="special">()</span>
+ <span class="special"><</span> <span class="identifier">system_clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">::</span><span class="identifier">zero</span><span class="special">()</span></code> is <code class="computeroutput"><span class="keyword">true</span></code>.
+ </li></ul></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h6 class="title">
<a name="boost_chrono.reference.cpp0x.chrono_chrono_hpp.system_clock.to_time_t"></a><a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.system_clock.to_time_t" title="
@@ -2806,7 +2824,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../reference.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="other_clocks.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../reference.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="other_clocks.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/deprecated.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/deprecated.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/deprecated.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="formatters.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../appendices.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="formatters.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../appendices.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -266,11 +266,11 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- format : The output format
- </li>
+ format : The output format
+ </li>
<li>
- places(precision): the number of decimal placess used.
- </li>
+ places(precision): the number of decimal placess used.
+ </li>
</ul></div>
<p>
The default places is given by default_places and is 3.
@@ -281,25 +281,25 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">r</span></code>
- : real process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">r</span></code>
+ : real process clock
+ </li>
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">u</span></code>
- : user process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">u</span></code>
+ : user process clock
+ </li>
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
- : system process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
+ : system process clock
+ </li>
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
- : user+system process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
+ : user+system process clock
+ </li>
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
- : percentage (user+system)/real process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
+ : percentage (user+system)/real process clock
+ </li>
</ul></div>
<p>
All the units are given using the suffix "s" following the
@@ -355,7 +355,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="formatters.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../appendices.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="formatters.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../appendices.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/formatters.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/formatters.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/formatters.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="reporters.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deprecated.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="reporters.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deprecated.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -131,9 +131,9 @@
The default format is "%ts\n", where
</p>
<div class="itemizedlist"><ul type="disc"><li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">d</span></code>
- : the result of elapsed() when the reporting is done.
- </li></ul></div>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">d</span></code>
+ : the result of elapsed() when the reporting is done.
+ </li></ul></div>
<p>
The time is given using the suffix "s" following the System
International d'Unites Std.
@@ -201,37 +201,38 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
- : the counter of the number of times the pair srat/stop has been called.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
- : the sum of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">m</span></code>
- : the min of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">M</span></code>
- : the max of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">a</span></code>
- : the mean of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">f</span></code>
- : the frequency of calls to start.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">l</span></code>
- : the lifetime of the stopwatch_accumulator.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
- : the percentage of time spent by this stopwatch respect to its lifetime.
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
+ : the counter of the number of times the pair srat/stop has been
+ called.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
+ : the sum of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">m</span></code>
+ : the min of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">M</span></code>
+ : the max of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">a</span></code>
+ : the mean of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">f</span></code>
+ : the frequency of calls to start.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">l</span></code>
+ : the lifetime of the stopwatch_accumulator.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
+ : the percentage of time spent by this stopwatch respect to its lifetime.
+ </li>
</ul></div>
<p>
The time is given using the suffix "s", the frequency is given
@@ -328,25 +329,25 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">r</span></code>
- : real process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">u</span></code>
- : user process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
- : system process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
- : user+system process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
- : percentage (user+system)/real process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">r</span></code>
+ : real process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">u</span></code>
+ : user process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
+ : system process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
+ : user+system process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
+ : percentage (user+system)/real process clock
+ </li>
</ul></div>
<p>
All the units are given using the suffix "s" following the
@@ -450,57 +451,58 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
- : the counter of the number of times the pair srat/stop has been called.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
- : the sum of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">m</span></code>
- : the min of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">M</span></code>
- : the max of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">a</span></code>
- : the mean of the samples of elapsed time between the call to start/stop.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">f</span></code>
- : the frequency of calls to start.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">l</span></code>
- : the lifetime of the stopwatch_accumulator.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
- : the percentage of time spent by this stopwatch respect to its lifetime.
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">r</span></code>
- : real process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">u</span></code>
- : user process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
- : system process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
- : user+system process clock
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
- : percentage (user+system)/real process clock
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
+ : the counter of the number of times the pair srat/stop has been
+ called.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
+ : the sum of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">m</span></code>
+ : the min of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">M</span></code>
+ : the max of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">a</span></code>
+ : the mean of the samples of elapsed time between the call to start/stop.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">f</span></code>
+ : the frequency of calls to start.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">l</span></code>
+ : the lifetime of the stopwatch_accumulator.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
+ : the percentage of time spent by this stopwatch respect to its lifetime.
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">r</span></code>
+ : real process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">u</span></code>
+ : user process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
+ : system process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">c</span></code>
+ : user+system process clock
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">p</span></code>
+ : percentage (user+system)/real process clock
+ </li>
</ul></div>
<p>
The time is given using the suffix "s", the frequency is given
@@ -645,25 +647,25 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">d</span></code>
- : days
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">h</span></code>
- : hours
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">m</span></code>
- : minutes
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
- : seconds
- </li>
-<li>
-<code class="computeroutput"><span class="special">%</span><span class="identifier">n</span></code>
- : nanoseconds
- </li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">d</span></code>
+ : days
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">h</span></code>
+ : hours
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">m</span></code>
+ : minutes
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">s</span></code>
+ : seconds
+ </li>
+<li>
+ <code class="computeroutput"><span class="special">%</span><span class="identifier">n</span></code>
+ : nanoseconds
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -694,7 +696,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="reporters.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deprecated.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="reporters.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deprecated.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/other_clocks.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/other_clocks.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/other_clocks.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -21,7 +21,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="cpp0x.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="stopwatches.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="cpp0x.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="stopwatches.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -539,9 +539,9 @@
Models of <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code>:
</p>
<div class="itemizedlist"><ul type="disc"><li>
-<a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.suspendible_clock" title="
+ <a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.suspendible_clock" title="
Template Class suspendible_clock<>"><code class="computeroutput"><span class="identifier">suspendible_clock</span></code></a>]
- </li></ul></div>
+ </li></ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
@@ -669,7 +669,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="cpp0x.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="stopwatches.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="cpp0x.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="stopwatches.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/reporters.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/reporters.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/reporters.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="stopwatches.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="formatters.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="stopwatches.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="formatters.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -199,12 +199,18 @@
Models of <code class="computeroutput"><span class="identifier">Formatter</span></code>:
</p>
<div class="itemizedlist"><ul type="disc">
-<li><a href="formatters.html#boost_chrono.reference.formatters.stopwatch_formatter_hpp.basic_stopwatch_formatter" title="
- Template Class basic_stopwatch_formatter<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator_formatter</span></code></a></li>
-<li><a href="formatters.html#boost_chrono.reference.formatters.stopwatch_accumulator_formatter_hpp.basic_stopwatch_accumulator_formatter" title="
- Template Class basic_stopwatch_accumulator_formatter<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator_formatter</span></code></a></li>
-<li><a href="formatters.html#boost_chrono.reference.formatters.t24_hours_formatter_hpp.basic_24_hours_formatter" title="
- Template Class basic_24_hours_formatter<>"><code class="computeroutput"><span class="identifier">basic_24_hours_formatter</span></code></a></li>
+<li>
+ <a href="formatters.html#boost_chrono.reference.formatters.stopwatch_formatter_hpp.basic_stopwatch_formatter" title="
+ Template Class basic_stopwatch_formatter<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator_formatter</span></code></a>
+ </li>
+<li>
+ <a href="formatters.html#boost_chrono.reference.formatters.stopwatch_accumulator_formatter_hpp.basic_stopwatch_accumulator_formatter" title="
+ Template Class basic_stopwatch_accumulator_formatter<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator_formatter</span></code></a>
+ </li>
+<li>
+ <a href="formatters.html#boost_chrono.reference.formatters.t24_hours_formatter_hpp.basic_24_hours_formatter" title="
+ Template Class basic_24_hours_formatter<>"><code class="computeroutput"><span class="identifier">basic_24_hours_formatter</span></code></a>
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
@@ -272,11 +278,11 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- format : The output format
- </li>
+ format : The output format
+ </li>
<li>
- places(precision): the number of decimal placess used.
- </li>
+ places(precision): the number of decimal placess used.
+ </li>
</ul></div>
<p>
The default places is given by Formatter::default_places().
@@ -342,11 +348,11 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- format : The output format
- </li>
+ format : The output format
+ </li>
<li>
- places(precision): the number of decimal placess used.
- </li>
+ places(precision): the number of decimal placess used.
+ </li>
</ul></div>
<p>
The default places is given by Formatter::default_places().
@@ -428,11 +434,11 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- format : The output format
- </li>
+ format : The output format
+ </li>
<li>
- places(precision): the number of decimal placess used.
- </li>
+ places(precision): the number of decimal placess used.
+ </li>
</ul></div>
<p>
The default places is given by Formatter::default_places().
@@ -1071,7 +1077,7 @@
<span class="special">}</span>
</pre>
<a name="boost_chrono.reference.reporters.scoped_stopclock_hpp.scoped_stopclock.synopsis"></a><h6>
-<a name="id4929924"></a>
+<a name="id5114244"></a>
<a href="reporters.html#boost_chrono.reference.reporters.scoped_stopclock_hpp.scoped_stopclock.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span> <span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">=</span><span class="identifier">process_cpu_clock</span>
@@ -1137,7 +1143,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="stopwatches.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="formatters.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="stopwatches.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="formatters.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatches.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatches.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatches.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="other_clocks.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="reporters.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="other_clocks.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reporters.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -45,11 +45,17 @@
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req.stopwatch_restart">
Member Function <code class="computeroutput"><span class="identifier">restart</span><span class="special">()</span></code></a></span></dt>
</dl></dd>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp">
+ Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">lightweight_stopwatch</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.dont_start_t">
+ Class <code class="computeroutput"><span class="identifier">dont_start_t</span></code></a></span></dt>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch">
+ Template Class <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special"><></span></code></a></span></dt>
+</dl></dd>
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp">
Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">stopwatch</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt>
<dd><dl>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.dont_start_t">
- Class <code class="computeroutput"><span class="identifier">dont_start_t</span></code></a></span></dt>
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch">
Template Class <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><></span></code></a></span></dt>
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.spec">
@@ -477,21 +483,230 @@
Models of <code class="computeroutput"><span class="identifier">Stopwatch</span></code>:
</p>
<div class="itemizedlist"><ul type="disc">
-<li><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
- Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a></li>
-<li><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
- Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a></li>
+<li>
+ <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
+ Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a>
+ </li>
+<li>
+ <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
+ Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a>
+ </li>
</ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp" title="
+ Header <boost/chrono/lightweight_stopwatch.hpp>">
+ Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">lightweight_stopwatch</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.dont_start_t">
+ Class <code class="computeroutput"><span class="identifier">dont_start_t</span></code></a></span></dt>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch">
+ Template Class <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special"><></span></code></a></span></dt>
+</dl></div>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">chrono</span> <span class="special">{</span>
+ <span class="keyword">struct</span> <span class="identifier">dont_start_t</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span> <span class="identifier">dont_start</span><span class="special">;</span>
+
+ <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">=</span><span class="identifier">high_resolution_clock</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Features</span><span class="special">=</span><span class="keyword">void</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Weight</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span> <span class="keyword">class</span> <span class="identifier">__lightweight_stopwatch__</span><span class="special">;</span>
+
+ <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">system_lightweight_stopwatch</span><span class="special">;</span>
+ <span class="preprocessor">#ifdef</span> <a href="cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.BOOST_CHRONO_HAS_CLOCK_MONOTONIC" title="
+ Macro BOOST_CHRONO_HAS_CLOCK_MONOTONIC"><code class="computeroutput"><span class="identifier">BOOST_CHRONO_HAS_CLOCK_MONOTONIC</span></code></a>
+ <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">monotonic_lightweight_stopwatch</span><span class="special">;</span>
+ <span class="preprocessor">#endif</span>
+ <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">high_resolution_lightweight_stopwatch</span><span class="special">;</span>
+<span class="special">}}</span>
+</pre>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.dont_start_t"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.dont_start_t" title="
+ Class dont_start_t">
+ Class <code class="computeroutput"><span class="identifier">dont_start_t</span></code></a>
+</h5></div></div></div>
+<p>
+ Structure used to don't start a <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span></code>
+ at construction time.
+ </p>
+<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">dont_start_t</span><span class="special">;</span>
+<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span> <span class="identifier">dont_start</span><span class="special">;</span>
+</pre>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch" title="
+ Template Class lightweight_stopwatch<>">
+ Template Class <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special"><></span></code></a>
+</h5></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.c1">
+ Constructor <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&,</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span>
+ <span class="special">&)</span></code></a></span></dt>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.c2">
+ Constructor <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&,</span> <span class="identifier">dont_start_t</span>
+ <span class="special">&)</span></code></a></span></dt>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.lightweight_stopwatch_elapsed">
+ Member Function <code class="computeroutput"><span class="identifier">elapsed</span><span class="special">()</span></code></a></span></dt>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.stopwatch_accumulator_accumulated">
+ Member Function <code class="computeroutput"><span class="identifier">accumulated</span><span class="special">()</span></code></a></span></dt>
+<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.stopwatch_accumulator_reset">
+ Member Function <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code></a></span></dt>
+</dl></div>
+<p>
+ <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special"><></span></code> is a model of a __lightweight_stopwatch<span class="underline">concept</span>_.
+ </p>
+<p>
+ Knowing how long a part of a program takes to execute is useful in both
+ test and production environments. A __lightweight<span class="underline">stopwatch</span>_
+ object measures elapsed time. It is recommended to use it with clocks
+ that measure wall clock rather than CPU time since the intended use is
+ performance measurement on systems where total elapsed time is more important
+ than just process or CPU time.
+ </p>
+<p>
+ The maximum measurable elapsed time depends on the Clock parameter. The
+ accuracy of timings depends on the accuracy of timing information provided
+ the Clock, and this coudl varies a great deal from one clock to another.
+ </p>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Features</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Weight</span><span class="special">></span>
+<span class="keyword">class</span> <span class="identifier">lightweight_stopwatch</span> <span class="special">{</span>
+<span class="keyword">public</span><span class="special">:</span>
+ <span class="keyword">typedef</span> <span class="identifier">Clock</span> <span class="identifier">clock</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span> <span class="identifier">duration</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">time_point</span> <span class="identifier">time_point</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">below</span><span class="special">></span> <span class="identifier">storage</span><span class="special">;</span>
+
+ <span class="keyword">explicit</span> <span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&</span> <span class="identifier">st</span><span class="special">,</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+ <span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&</span> <span class="identifier">st</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span><span class="special">&</span> <span class="identifier">t</span> <span class="special">);</span>
+
+ <span class="special">~</span><span class="identifier">lightweight_stopwatch</span><span class="special">();</span>
+
+ <span class="identifier">time_point</span> <span class="identifier">start</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+ <span class="identifier">duration</span> <span class="identifier">stop</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">duration</span><span class="special">,</span><span class="identifier">time_point</span><span class="special">></span> <span class="identifier">restart</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+
+ <span class="identifier">duration</span> <span class="identifier">suspend</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+ <span class="identifier">time_point</span> <span class="identifier">resume</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+
+ <span class="identifier">duration</span> <span class="identifier">elapsed</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+
+ <span class="identifier">time_point</span> <span class="identifier">now</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+
+ <span class="keyword">void</span> <span class="identifier">reset</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+
+ <span class="identifier">storage</span><span class="special">&</span> <span class="identifier">get_storage</span><span class="special">(</span> <span class="special">);</span>
+
+ <span class="identifier">duration</span> <span class="identifier">lifetime</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">lightweight_stopwatch_runner</span><span class="special"><</span><span class="identifier">lightweight_stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_run</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">lightweight_stopwatch_suspender</span><span class="special"><</span><span class="identifier">lightweight_stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_suspend</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">lightweight_stopwatch_resumer</span><span class="special"><</span><span class="identifier">lightweight_stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_resume</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">lightweight_stopwatch_reporter</span><span class="special"><</span><span class="identifier">lightweight_stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">reporter</span><span class="special">;</span>
+
+<span class="special">};</span>
+</pre>
+<p>
+ <code class="computeroutput"><span class="identifier">storage</span></code> is either <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span></code> if Features and Weight are
+ void and <code class="computeroutput"><span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">accumulator_set</span><span class="special"><</span><span class="keyword">typename</span>
+ <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">,</span> <span class="identifier">Features</span><span class="special">,</span>
+ <span class="identifier">Weight</span><span class="special">></span></code>
+ otherwise.
+ </p>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.c1"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.c1" title="
+ Constructor lightweight_stopwatch( storage&, system::error_code
+ &)">
+ Constructor <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&,</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span>
+ <span class="special">&)</span></code></a>
+</h6></div></div></div>
+<pre class="programlisting"><span class="keyword">explicit</span> <span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&</span> <span class="identifier">st</span><span class="special">,</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+</pre>
+<p>
+ <span class="bold"><strong>Effect:</strong></span> constructs and starts the
+ lightweight_stopwatch.
+ </p>
+<p>
+ <span class="bold"><strong>Throw:</strong></span> Any exception the <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">now</span></code> function can throw when <code class="computeroutput"><span class="identifier">ec</span></code> is <code class="computeroutput"><span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span></code>
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.c2"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.c2" title="
+ Constructor lightweight_stopwatch( storage&, dont_start_t
+ &)">
+ Constructor <code class="computeroutput"><span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&,</span> <span class="identifier">dont_start_t</span>
+ <span class="special">&)</span></code></a>
+</h6></div></div></div>
+<pre class="programlisting"><span class="keyword">explicit</span> <span class="identifier">lightweight_stopwatch</span><span class="special">(</span> <span class="identifier">storage</span><span class="special">&</span> <span class="identifier">st</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span><span class="special">&</span> <span class="identifier">t</span> <span class="special">);</span>
+</pre>
+<p>
+ <span class="bold"><strong>Effect:</strong></span> constructs the lightweight_stopwatch
+ without starting it.
+ </p>
+<p>
+ <span class="bold"><strong>Throw:</strong></span> Nothing.
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.lightweight_stopwatch_elapsed"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.lightweight_stopwatch_elapsed" title="
+ Member Function elapsed()">
+ Member Function <code class="computeroutput"><span class="identifier">elapsed</span><span class="special">()</span></code></a>
+</h6></div></div></div>
+<pre class="programlisting"><span class="identifier">duration</span> <span class="identifier">elapsed</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+</pre>
+<p>
+ <span class="bold"><strong>Returns:</strong></span> the cumulated elapsed time.
+ </p>
+<p>
+ <span class="bold"><strong>Throw:</strong></span> Any exception the <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">now</span></code> function can throw when <code class="computeroutput"><span class="identifier">ec</span></code> is <code class="computeroutput"><span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span></code>
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.stopwatch_accumulator_accumulated"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.stopwatch_accumulator_accumulated" title="
+ Member Function accumulated()">
+ Member Function <code class="computeroutput"><span class="identifier">accumulated</span><span class="special">()</span></code></a>
+</h6></div></div></div>
+<pre class="programlisting"><span class="identifier">storage</span><span class="special">&</span> <span class="identifier">get_storage</span><span class="special">();</span>
+</pre>
+<p>
+ <span class="bold"><strong>Returns:</strong></span> the assocaited storage reference.
+ </p>
+<p>
+ <span class="bold"><strong>Throw:</strong></span> Nothing.
+ </p>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h6 class="title">
+<a name="boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.stopwatch_accumulator_reset"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.lightweight_stopwatch_hpp.lightweight_stopwatch.stopwatch_accumulator_reset" title="
+ Member Function reset()">
+ Member Function <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code></a>
+</h6></div></div></div>
+<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">reset</span><span class="special">(</span> <span class="special">);</span>
+</pre>
+<p>
+ <span class="bold"><strong>Effect:</strong></span> Stop the lightweight_stopwatch
+ and reinit the storage.
+ </p>
+<p>
+ <span class="bold"><strong>Throw:</strong></span> Nothing.
+ </p>
+</div>
+</div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h4 class="title">
<a name="boost_chrono.reference.stopwatches.stopwatch_hpp"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp" title="
Header <boost/chrono/stopwatch.hpp>">
Header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">stopwatch</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>
</h4></div></div></div>
<div class="toc"><dl>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.dont_start_t">
- Class <code class="computeroutput"><span class="identifier">dont_start_t</span></code></a></span></dt>
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch">
Template Class <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><></span></code></a></span></dt>
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.spec">
@@ -501,9 +716,6 @@
<code class="computeroutput"><span class="identifier">stopwatch</span></code> useful typedefs</a></span></dt>
</dl></div>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">chrono</span> <span class="special">{</span>
- <span class="keyword">struct</span> <span class="identifier">dont_start_t</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span> <span class="identifier">dont_start</span><span class="special">;</span>
-
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">=</span><span class="identifier">high_resolution_clock</span><span class="special">></span> <span class="keyword">class</span> <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a><span class="special">;</span>
@@ -523,27 +735,10 @@
<span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">monotonic_stopwatch</span><span class="special">;</span>
<span class="preprocessor">#endif</span>
<span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">high_resolution_stopwatch</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">process_real_cpu_stopwatch</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">process_user_cpu_stopwatch</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">above</span><span class="special">></span> <span class="identifier">process_system_cpu_stopwatch</span><span class="special">;</span>
<span class="special">}}</span>
</pre>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
-<a name="boost_chrono.reference.stopwatches.stopwatch_hpp.dont_start_t"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.dont_start_t" title="
- Class dont_start_t">
- Class <code class="computeroutput"><span class="identifier">dont_start_t</span></code></a>
-</h5></div></div></div>
-<p>
- Structure used to don't start a <code class="computeroutput"><span class="identifier">stopwatch</span></code>
- at construction time.
- </p>
-<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">dont_start_t</span><span class="special">;</span>
-<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span> <span class="identifier">dont_start</span><span class="special">;</span>
-</pre>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h5 class="title">
<a name="boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
Template Class stopwatch<>">
Template Class <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><></span></code></a>
@@ -555,8 +750,6 @@
<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch.c2">
Constructor <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special">(</span> <span class="identifier">dont_start_t</span>
<span class="special">&)</span></code></a></span></dt>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch.stopwatch_elapsed">
- Member Function <code class="computeroutput"><span class="identifier">elapsed</span><span class="special">()</span></code></a></span></dt>
</dl></div>
<p>
<code class="computeroutput"><span class="identifier">stopwatch</span><span class="special"><></span></code>
@@ -577,31 +770,13 @@
accuracy of timings depends on the accuracy of timing information provided
the Clock, and this coudl varies a great deal from one clock to another.
</p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">stopwatch</span> <span class="special">{</span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">></span>
+<span class="keyword">class</span> <span class="identifier">stopwatch</span> <span class="special">:</span> <span class="keyword">private</span> <span class="identifier">base_from_member</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">>,</span> <span class="keyword">public</span> <span class="identifier">lightweight_stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span>
+<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
- <span class="keyword">typedef</span> <span class="identifier">Clock</span> <span class="identifier">clock</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span> <span class="identifier">duration</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">time_point</span> <span class="identifier">time_point</span><span class="special">;</span>
-
- <span class="keyword">explicit</span> <span class="identifier">stopwatch</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">stopwatch</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
<span class="keyword">explicit</span> <span class="identifier">stopwatch</span><span class="special">(</span> <span class="keyword">const</span> <span class="identifier">dont_start_t</span><span class="special">&</span> <span class="identifier">t</span> <span class="special">);</span>
-
- <span class="special">~</span><span class="identifier">stopwatch</span><span class="special">();</span>
-
- <span class="identifier">time_point</span> <span class="identifier">start</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
- <span class="identifier">duration</span> <span class="identifier">stop</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">duration</span><span class="special">,</span><span class="identifier">time_point</span><span class="special">></span> <span class="identifier">restart</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
-
- <span class="identifier">duration</span> <span class="identifier">suspend</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
- <span class="identifier">time_point</span> <span class="identifier">resume</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
-
- <span class="identifier">duration</span> <span class="identifier">elapsed</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
-
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_runner</span><span class="special"><</span><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_run</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_suspender</span><span class="special"><</span><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_suspend</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_resumer</span><span class="special"><</span><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_resume</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_reporter</span><span class="special"><</span><span class="identifier">stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">reporter</span><span class="special">;</span>
-
+
<span class="special">};</span>
</pre>
<div class="section" lang="en">
@@ -640,22 +815,6 @@
<span class="bold"><strong>Throw:</strong></span> Nothing.
</p>
</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h6 class="title">
-<a name="boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch.stopwatch_elapsed"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch.stopwatch_elapsed" title="
- Member Function elapsed()">
- Member Function <code class="computeroutput"><span class="identifier">elapsed</span><span class="special">()</span></code></a>
-</h6></div></div></div>
-<pre class="programlisting"><span class="identifier">duration</span> <span class="identifier">elapsed</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
-</pre>
-<p>
- <span class="bold"><strong>Returns:</strong></span> the elapsed time from the
- last call to start.
- </p>
-<p>
- <span class="bold"><strong>Throw:</strong></span> Any exception the <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">now</span></code> function can throw when <code class="computeroutput"><span class="identifier">ec</span></code> is <code class="computeroutput"><span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span></code>
- </p>
-</div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
@@ -705,13 +864,6 @@
<span class="preprocessor">#endif</span>
<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">high_resolution_clock</span> <span class="special">></span>
<span class="identifier">high_resolution_stopwatch</span><span class="special">;</span>
-
-<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">process_real_cpu_clock</span> <span class="special">></span>
- <span class="identifier">process_real_cpu_stopwatch</span><span class="special">;</span>
-<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">process_user_cpu_clock</span> <span class="special">></span>
- <span class="identifier">process_user_cpu_stopwatch</span><span class="special">;</span>
-<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">process_system_cpu_clock</span> <span class="special">></span>
- <span class="identifier">process_system_cpu_stopwatch</span><span class="special">;</span>
</pre>
</div>
</div>
@@ -732,7 +884,15 @@
typedefs</a></span></dt>
</dl></div>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">chrono</span> <span class="special">{</span>
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Accumulator</span><span class="special">></span> <span class="keyword">class</span> <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
+ <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Features</span><span class="special">=</span><span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">features</span><span class="special"><</span>
+ <span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">count</span><span class="special">,</span>
+ <span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">sum</span><span class="special">,</span>
+ <span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">mean</span> <span class="special">>,</span>
+ <span class="keyword">typename</span> <span class="identifier">Weight</span><span class="special">=</span><span class="keyword">void</span>
+ <span class="special">></span> <span class="keyword">class</span> <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator" title="
Template Class stopwatch_accumulator<>"><code class="computeroutput"><span class="identifier">stopwatch_accumulator</span></code></a><span class="special">;</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Accumulator</span><span class="special">></span>
@@ -752,10 +912,6 @@
<span class="preprocessor">#endif</span>
<span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">below</span><span class="special">></span> <span class="identifier">high_resolution_stopwatch_accumulator</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">below</span><span class="special">></span> <span class="identifier">process_real_cpu_stopwatch_accumulator</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">below</span><span class="special">></span> <span class="identifier">process_user_cpu_stopwatch_accumulator</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="special"><</span><span class="identifier">see</span> <span class="identifier">below</span><span class="special">></span> <span class="identifier">process_system_cpu_stopwatch_accumulator</span><span class="special">;</span>
-
<span class="special">}}</span>
</pre>
<div class="section" lang="en">
@@ -764,16 +920,8 @@
Template Class stopwatch_accumulator<>">
Template Class <code class="computeroutput"><span class="identifier">stopwatch_accumulator</span><span class="special"><></span></code></a>
</h5></div></div></div>
-<div class="toc"><dl>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_c">
- Constructor <code class="computeroutput"><span class="identifier">stopwatch_accumulator</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_reset">
- Member Function <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_elapsed">
- Member Function <code class="computeroutput"><span class="identifier">elapsed</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_accumulated">
- Member Function <code class="computeroutput"><span class="identifier">accumulated</span><span class="special">()</span></code></a></span></dt>
-</dl></div>
+<div class="toc"><dl><dt><span class="section"><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_c">
+ Constructor <code class="computeroutput"><span class="identifier">stopwatch_accumulator</span><span class="special">()</span></code></a></span></dt></dl></div>
<p>
A <code class="computeroutput"><span class="identifier">stopwatch_accumulator</span><span class="special"><></span></code> is a model of a <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_req" title="
Stopwatch Requirements"><code class="computeroutput"><span class="identifier">Stopwatch</span></code> concept</a> that allows
@@ -781,31 +929,13 @@
case of the class <a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_hpp.stopwatch" title="
Template Class stopwatch<>"><code class="computeroutput"><span class="identifier">stopwatch</span></code></a><code class="computeroutput"><span class="special"><></span></code>.
</p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">stopwatch_accumulator</span> <span class="special">{</span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Features</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Weight</span><span class="special">></span>
+<span class="keyword">class</span> <span class="identifier">stopwatch_accumulator</span>
+ <span class="special">:</span> <span class="keyword">private</span> <span class="identifier">base_from_member</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">accumulators</span><span class="special">::</span><span class="identifier">accumulator_set</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span><span class="special">::</span><span class="identifier">rep</span><span class="special">,</span> <span class="identifier">Features</span><span class="special">,</span> <span class="identifier">Weight</span><span class="special">></span> <span class="special">>,</span>
+ <span class="keyword">public</span> <span class="identifier">lightweight_stopwatch</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">,</span><span class="identifier">Features</span><span class="special">,</span><span class="identifier">Weight</span><span class="special">></span>
+<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
- <span class="keyword">typedef</span> <span class="identifier">Clock</span> <span class="identifier">clock</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">duration</span> <span class="identifier">duration</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Clock</span><span class="special">::</span><span class="identifier">time_point</span> <span class="identifier">time_point</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">Accumulator</span> <span class="identifier">accumulator</span><span class="special">;</span>
-
- <span class="identifier">stopwatch_accumulator</span><span class="special">();</span>
-
- <span class="identifier">time_point</span> <span class="identifier">start</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
- <span class="identifier">duration</span> <span class="identifier">stop</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">duration</span><span class="special">,</span><span class="identifier">time_point</span><span class="special">></span> <span class="identifier">restart</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
-
- <span class="identifier">duration</span> <span class="identifier">suspend</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
- <span class="identifier">time_point</span> <span class="identifier">resume</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span> <span class="special">);</span>
-
- <span class="identifier">duration</span> <span class="identifier">elapsed</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span><span class="special">);</span>
-
- <span class="identifier">accumulator</span><span class="special">&</span> <span class="identifier">accumulated</span><span class="special">(</span> <span class="special">);</span>
- <span class="keyword">void</span> <span class="identifier">reset</span><span class="special">();</span>
-
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_runner</span><span class="special"><</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_run</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_suspender</span><span class="special"><</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_suspend</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_resumer</span><span class="special"><</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">scoped_resume</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">stopwatch_reporter</span><span class="special"><</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span><span class="identifier">Clock</span><span class="special">></span> <span class="special">></span> <span class="identifier">reporter</span><span class="special">;</span>
+ <span class="identifier">stopwatch_accumulator</span><span class="special">(</span> <span class="special">);</span>
<span class="special">};</span>
</pre>
<div class="section" lang="en">
@@ -821,52 +951,6 @@
and the times counter to 0.
</p>
</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h6 class="title">
-<a name="boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_reset"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_reset" title="
- Member Function reset()">
- Member Function <code class="computeroutput"><span class="identifier">reset</span><span class="special">()</span></code></a>
-</h6></div></div></div>
-<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">reset</span><span class="special">(</span> <span class="special">);</span>
-</pre>
-<p>
- <span class="bold"><strong>Effect:</strong></span> Stop the stopwatch and reset
- the accumulator.
- </p>
-<p>
- <span class="bold"><strong>Throw:</strong></span> Nothing.
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h6 class="title">
-<a name="boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_elapsed"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_elapsed" title="
- Member Function elapsed()">
- Member Function <code class="computeroutput"><span class="identifier">elapsed</span><span class="special">()</span></code></a>
-</h6></div></div></div>
-<pre class="programlisting"><span class="identifier">duration</span> <span class="identifier">elapsed</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span> <span class="special">=</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
-</pre>
-<p>
- <span class="bold"><strong>Returns:</strong></span> the cumulated elapsed time.
- </p>
-<p>
- <span class="bold"><strong>Throw:</strong></span> Nothing.
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h6 class="title">
-<a name="boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_accumulated"></a><a href="stopwatches.html#boost_chrono.reference.stopwatches.stopwatch_accumulator_hpp.stopwatch_accumulator.stopwatch_accumulator_accumulated" title="
- Member Function accumulated()">
- Member Function <code class="computeroutput"><span class="identifier">accumulated</span><span class="special">()</span></code></a>
-</h6></div></div></div>
-<pre class="programlisting"><span class="identifier">accumulator</span><span class="special">&</span> <span class="identifier">accumulated</span><span class="special">();</span>
-</pre>
-<p>
- <span class="bold"><strong>Returns:</strong></span> the assocaited accumulator.
- </p>
-<p>
- <span class="bold"><strong>Throw:</strong></span> Nothing.
- </p>
-</div>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
@@ -917,13 +1001,6 @@
<span class="preprocessor">#endif</span>
<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">high_resolution_clock</span> <span class="special">></span>
<span class="identifier">high_resolution_stopwatch_accumulator</span><span class="special">;</span>
-
-<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">process_real_cpu_clock</span> <span class="special">></span>
- <span class="identifier">process_real_cpu_stopwatch_accumulator</span><span class="special">;</span>
-<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">process_user_cpu_clock</span> <span class="special">></span>
- <span class="identifier">process_user_cpu_stopwatch_accumulator</span><span class="special">;</span>
-<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">stopwatch_accumulator</span><span class="special"><</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">process_system_cpu_clock</span> <span class="special">></span>
- <span class="identifier">process_system_cpu_stopwatch_accumulator</span><span class="special">;</span>
</pre>
</div>
</div>
@@ -1075,7 +1152,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="other_clocks.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="reporters.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="other_clocks.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reporters.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="overview/description.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="users_guide/getting_started.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="overview/description.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="users_guide/getting_started.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
@@ -72,7 +72,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="overview/description.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="users_guide/getting_started.html"><img src="../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="overview/description.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="users_guide/getting_started.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/examples.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/examples.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/examples.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="tutorial.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="ext_references.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="tutorial.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ext_references.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -1360,7 +1360,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="tutorial.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="ext_references.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="tutorial.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ext_references.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/ext_references.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/ext_references.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/ext_references.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="examples.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../reference.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="examples.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../reference.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -70,7 +70,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="examples.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../reference.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="examples.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../reference.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/getting_started.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/getting_started.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/getting_started.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../users_guide.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../users_guide.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -39,7 +39,7 @@
Installing Chrono</a>
</h4></div></div></div>
<a name="boost_chrono.users_guide.getting_started.install.getting__emphasis_role__bold__boost_chrono__emphasis__"></a><h5>
-<a name="id4758659"></a>
+<a name="id4942305"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.getting__emphasis_role__bold__boost_chrono__emphasis__">Getting
<span class="bold"><strong>Boost.Chrono</strong></span> </a>
</h5>
@@ -54,7 +54,7 @@
and follow the instructions there for anonymous SVN access.
</p>
<a name="boost_chrono.users_guide.getting_started.install.where_to_install__emphasis_role__bold__boost_chrono__emphasis___"></a><h5>
-<a name="id4758731"></a>
+<a name="id4942376"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.where_to_install__emphasis_role__bold__boost_chrono__emphasis___">Where
to install <span class="bold"><strong>Boost.Chrono</strong></span>? </a>
</h5>
@@ -70,7 +70,7 @@
variable. Any help is welcome.
</p>
<a name="boost_chrono.users_guide.getting_started.install.building__emphasis_role__bold__boost_chrono__emphasis__"></a><h5>
-<a name="id4758766"></a>
+<a name="id4942692"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.building__emphasis_role__bold__boost_chrono__emphasis__">Building
<span class="bold"><strong>Boost.Chrono</strong></span> </a>
</h5>
@@ -81,7 +81,7 @@
<pre class="programlisting"><span class="identifier">bjam</span> <span class="identifier">libs</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">build</span>
</pre>
<a name="boost_chrono.users_guide.getting_started.install.requirements"></a><h5>
-<a name="id4758838"></a>
+<a name="id4942763"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.requirements">Requirements</a>
</h5>
<p>
@@ -144,7 +144,7 @@
</dl>
</div>
<a name="boost_chrono.users_guide.getting_started.install.building_an_executable_that_uses__emphasis_role__bold__boost_chrono__emphasis__"></a><h5>
-<a name="id4759095"></a>
+<a name="id4943020"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.building_an_executable_that_uses__emphasis_role__bold__boost_chrono__emphasis__">Building
an executable that uses <span class="bold"><strong>Boost.Chrono</strong></span>
</a>
@@ -154,7 +154,7 @@
with the Boost System library.
</p>
<a name="boost_chrono.users_guide.getting_started.install.exceptions_safety_"></a><h5>
-<a name="id4759129"></a>
+<a name="id4943055"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.exceptions_safety_">Exceptions
safety </a>
</h5>
@@ -163,7 +163,7 @@
of exception safety as long as the underlying parameters provide it.
</p>
<a name="boost_chrono.users_guide.getting_started.install.thread_safety_"></a><h5>
-<a name="id4759157"></a>
+<a name="id4943082"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.thread_safety_">Thread
safety </a>
</h5>
@@ -171,7 +171,7 @@
All functions in the library are thread-unsafe except when noted explicitly.
</p>
<a name="boost_chrono.users_guide.getting_started.install.tested_compilers_"></a><h5>
-<a name="id4759182"></a>
+<a name="id4943108"></a>
<a href="getting_started.html#boost_chrono.users_guide.getting_started.install.tested_compilers_">Tested
compilers </a>
</h5>
@@ -184,38 +184,38 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- MSVC 10.0
- </li>
+ MSVC 10.0
+ </li>
<li>
- MSVC 9.0 Express
- </li>
+ MSVC 9.0 Express
+ </li>
<li>
- MSVC 8.0
- </li>
+ MSVC 8.0
+ </li>
</ul></div>
<p>
Scientific Linux with
</p>
<div class="itemizedlist"><ul type="disc"><li>
- GCC 4.1.2
- </li></ul></div>
+ GCC 4.1.2
+ </li></ul></div>
<p>
Cygwin with
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- GCC 3.4.4
- </li>
+ GCC 3.4.4
+ </li>
<li>
- GCC 4.3.2
- </li>
+ GCC 4.3.2
+ </li>
</ul></div>
<p>
MinGW with
</p>
<div class="itemizedlist"><ul type="disc"><li>
- GCC 4.4.0
- </li></ul></div>
+ GCC 4.4.0
+ </li></ul></div>
<p>
Initial version was tested on:
</p>
@@ -227,7 +227,7 @@
</p>
<div class="note"><table border="0" summary="Note">
<tr>
-<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../doc/html/images/note.png"></td>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../doc/src/images/note.png"></td>
<th align="left">Note</th>
</tr>
<tr><td align="left" valign="top"><p>
@@ -236,7 +236,7 @@
</table></div>
<div class="note"><table border="0" summary="Note">
<tr>
-<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../doc/html/images/note.png"></td>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../doc/src/images/note.png"></td>
<th align="left">Note</th>
</tr>
<tr><td align="left" valign="top"><p>
@@ -304,7 +304,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="../users_guide.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="../users_guide.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/tutorial.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/tutorial.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/tutorial.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -20,7 +20,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="getting_started.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="examples.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="getting_started.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="examples.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
@@ -292,18 +292,30 @@
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>:
</p>
<div class="itemizedlist"><ul type="disc">
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
- duration typedefs"><code class="computeroutput"><span class="identifier">hours</span></code></a></li>
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
- duration typedefs"><code class="computeroutput"><span class="identifier">minutes</span></code></a></li>
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
- duration typedefs"><code class="computeroutput"><span class="identifier">seconds</span></code></a></li>
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
- duration typedefs"><code class="computeroutput"><span class="identifier">milliseconds</span></code></a></li>
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
- duration typedefs"><code class="computeroutput"><span class="identifier">microseconds</span></code></a></li>
-<li><a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
- duration typedefs"><code class="computeroutput"><span class="identifier">nanoseconds</span></code></a></li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ duration typedefs"><code class="computeroutput"><span class="identifier">hours</span></code></a>
+ </li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ duration typedefs"><code class="computeroutput"><span class="identifier">minutes</span></code></a>
+ </li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ duration typedefs"><code class="computeroutput"><span class="identifier">seconds</span></code></a>
+ </li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ duration typedefs"><code class="computeroutput"><span class="identifier">milliseconds</span></code></a>
+ </li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ duration typedefs"><code class="computeroutput"><span class="identifier">microseconds</span></code></a>
+ </li>
+<li>
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration_typedefs" title="
+ duration typedefs"><code class="computeroutput"><span class="identifier">nanoseconds</span></code></a>
+ </li>
</ul></div>
<p>
These units were chosen as a subset of the boost library because they are
@@ -477,7 +489,7 @@
fractional part gets silently discarded.
</p>
<a name="boost_chrono.users_guide.tutorial.duration.what_happens_if_i_assign__m3___us3__to__minutes__instead_of__microseconds__.but_what_if_the_truncation_behavior_is_what_i_want_to_do_"></a><h6>
-<a name="id4815606"></a>
+<a name="id4999448"></a>
<a href="tutorial.html#boost_chrono.users_guide.tutorial.duration.what_happens_if_i_assign__m3___us3__to__minutes__instead_of__microseconds__.but_what_if_the_truncation_behavior_is_what_i_want_to_do_">But
what if the truncation behavior is what I want to do?</a>
</h6>
@@ -552,13 +564,13 @@
There are several options open to the user:
</p>
<div class="itemizedlist"><ul type="disc"><li>
- If the author of the function wants to accept any <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
- Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>, and is willing to
- work in floating point <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ If the author of the function wants to accept any <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>, and is willing
+ to work in floating point <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code>'s</a>, he can simply
- use any floating point <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ use any floating point <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> as the parameter:
- </li></ul></div>
+ </li></ul></div>
<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">duration</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">d</span><span class="special">)</span> <span class="comment">// accept floating point seconds
</span><span class="special">{</span>
<span class="comment">// d.count() == 3.e-6 when passed microseconds(3)
@@ -567,11 +579,12 @@
<span class="identifier">f</span><span class="special">(</span><span class="identifier">microseconds</span><span class="special">(</span><span class="number">3</span><span class="special">));</span>
</pre>
<div class="itemizedlist"><ul type="disc"><li>
- If the author of the function wants to traffic only in integral <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ If the author of the function wants to traffic only in integral
+ <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code>'s</a>, and is content
- with handling nothing finer than say nanoseconds (just as an example),
- he can simply specify nanoseconds as the parameter:
- </li></ul></div>
+ with handling nothing finer than say nanoseconds (just as an example),
+ he can simply specify nanoseconds as the parameter:
+ </li></ul></div>
<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">nanoseconds</span> <span class="identifier">d</span><span class="special">)</span>
<span class="special">{</span>
<span class="comment">// d.count() == 3000 when passed microseconds(3)
@@ -601,11 +614,11 @@
<pre class="programlisting"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">);</span> <span class="comment">// does not compile
</span></pre>
<div class="itemizedlist"><ul type="disc"><li>
- If the author of the function wants to accept any <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ If the author of the function wants to accept any <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a>, but wants to work
- with integral representations and wants to control the rounding mode
- internally, then he can template the function:
- </li></ul></div>
+ with integral representations and wants to control the rounding mode
+ internally, then he can template the function:
+ </li></ul></div>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Rep</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Period</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span> <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="identifier">Rep</span><span class="special">,</span> <span class="identifier">Period</span><span class="special">></span> <span class="identifier">d</span><span class="special">)</span>
@@ -621,11 +634,11 @@
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">double</span><span class="special">>(</span><span class="number">1.</span><span class="special">/</span><span class="number">3</span><span class="special">));</span>
</pre>
<div class="itemizedlist"><ul type="disc"><li>
- If the author in the example does not want to accept floating point
- based <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ If the author in the example does not want to accept floating point
+ based <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code>'s</a>, he can enforce
- that behavior like so:
- </li></ul></div>
+ that behavior like so:
+ </li></ul></div>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Period</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span> <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a><span class="special"><</span><span class="keyword">long</span> <span class="keyword">long</span><span class="special">,</span> <span class="identifier">Period</span><span class="special">></span> <span class="identifier">d</span><span class="special">)</span>
@@ -675,17 +688,17 @@
</p>
<div class="orderedlist"><ol type="1">
<li>
- A concrete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
+ A concrete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.duration" title="
Class template duration<>"><code class="computeroutput"><span class="identifier">duration</span></code></a> type.
- </li>
+ </li>
<li>
- A concrete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ A concrete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> type.
- </li>
+ </li>
<li>
- A function called now() which returns the concrete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ A function called now() which returns the concrete <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a>.
- </li>
+ </li>
</ol></div>
<p>
<span class="bold"><strong>Boost.Chrono</strong></span> provides the standard concrete
@@ -693,14 +706,14 @@
</p>
<div class="orderedlist"><ol type="1">
<li>
- system_clock
- </li>
+ system_clock
+ </li>
<li>
- monotonic_clock
- </li>
+ monotonic_clock
+ </li>
<li>
- high_precision_clock
- </li>
+ high_precision_clock
+ </li>
</ol></div>
<p>
A given platform may not be able to supply all three of these clocks. The
@@ -780,14 +793,14 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- 3 minutes after the computer booted.
- </li>
+ 3 minutes after the computer booted.
+ </li>
<li>
- 03:14:07 UTC on Tuesday, January 19, 2038
- </li>
+ 03:14:07 UTC on Tuesday, January 19, 2038
+ </li>
<li>
- 20 milliseconds after I started that timer.
- </li>
+ 20 milliseconds after I started that timer.
+ </li>
</ul></div>
<p>
In each of the examples above, a different epoch is implied. Sometimes
@@ -836,22 +849,22 @@
</p>
<div class="orderedlist"><ol type="1">
<li>
- Because <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
- Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code>'s</a> originating from
- different clocks have different types, the compiler can be instructed
- to fail if incompatible <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
- Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code>'s</a> are used in inappropriate
- ways.
- </li>
+ Because <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code>'s</a> originating
+ from different clocks have different types, the compiler can be instructed
+ to fail if incompatible <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code>'s</a> are used in
+ inappropriate ways.
+ </li>
<li>
- Given a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ Given a <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a>, one often needs
- to compare that <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ to compare that <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> to "now".
- This is very simple as long as the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
+ This is very simple as long as the <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
Class template time_point<>"><code class="computeroutput"><span class="identifier">time_point</span></code></a> knows what clock
- it is defined with respect to.
- </li>
+ it is defined with respect to.
+ </li>
</ol></div>
<p>
A <a href="../reference/cpp0x.html#boost_chrono.reference.cpp0x.chrono_chrono_hpp.time_point" title="
@@ -1291,12 +1304,12 @@
</p>
<div class="orderedlist"><ol type="1">
<li>
- We want to reduce the default reporting and we preffer to adapt the
- statistics to the reporting
- </li>
+ We want to reduce the default reporting and we preffer to adapt the
+ statistics to the reporting
+ </li>
<li>
- We want to report other statistics of the samples
- </li>
+ We want to report other statistics of the samples
+ </li>
</ol></div>
<p>
For the first case we just need to change the accumulator_set and the
@@ -1473,7 +1486,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="getting_started.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="examples.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
+<a accesskey="p" href="getting_started.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../users_guide.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="examples.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/chrono/libs/chrono/doc/html/index.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/index.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/index.html 2010-08-30 17:55:57 EDT (Mon, 30 Aug 2010)
@@ -17,7 +17,7 @@
<td align="center">More</td>
</tr></table>
<hr>
-<div class="spirit-nav"><a accesskey="n" href="boost_chrono/overview.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a></div>
+<div class="spirit-nav"><a accesskey="n" href="boost_chrono/overview.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div>
<div class="article" lang="en">
<div class="titlepage">
<div>
@@ -38,7 +38,7 @@
<div><p class="copyright">Copyright © 2006 , 2008 Beman Dawes</p></div>
<div><p class="copyright">Copyright © 2009 -2010 Vicente J. Botet Escriba</p></div>
<div><div class="legalnotice">
-<a name="id4762408"></a><p>
+<a name="id4986963"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -89,7 +89,7 @@
</div>
<div class="warning"><table border="0" summary="Warning">
<tr>
-<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../doc/html/images/warning.png"></td>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../doc/src/images/warning.png"></td>
<th align="left">Warning</th>
</tr>
<tr><td align="left" valign="top"><p>
@@ -98,10 +98,10 @@
</table></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: August 28, 2010 at 08:23:15 GMT</small></p></td>
+<td align="left"><p><small>Last revised: August 30, 2010 at 21:46:16 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
-<div class="spirit-nav"><a accesskey="n" href="boost_chrono/overview.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a></div>
+<div class="spirit-nav"><a accesskey="n" href="boost_chrono/overview.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div>
</body>
</html>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk