Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59269 - in sandbox/chrono/libs/chrono: build doc doc/html doc/html/boost_chrono doc/html/boost_chrono/appendices doc/html/boost_chrono/overview doc/html/boost_chrono/reference doc/html/boost_chrono/users_guide example test
From: vicente.botet_at_[hidden]
Date: 2010-01-25 17:52:21


Author: viboes
Date: 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
New Revision: 59269
URL: http://svn.boost.org/trac/boost/changeset/59269

Log:
Boost.Chrono: Version 0.3.2,
* Updated doc
* Updated examples to don't use Boost.thread_clock
* Added sleep_for helper function
Added:
   sandbox/chrono/libs/chrono/example/sleep_for.hpp (contents, props changed)
Text files modified:
   sandbox/chrono/libs/chrono/build/Jamfile.v2 | 8
   sandbox/chrono/libs/chrono/doc/chrono.qbk | 67 ++++++--
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices.html | 9
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/faq.html | 8
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/history.html | 33 ++--
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/rationale.html | 8
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tests.html | 69 ---------
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/tickets.html | 33 ---
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/appendices/todo.html | 4
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview.html | 17 --
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/overview/motivation.html | 32 ++-
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference.html | 12 -
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/cpp0x.html | 4
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/other_clocks.html | 294 ----------------------------------------
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatch_reporters.html | 2
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatches.html | 2
   sandbox/chrono/libs/chrono/doc/html/boost_chrono/users_guide/getting_started.html | 22 +-
   sandbox/chrono/libs/chrono/doc/html/index.html | 2
   sandbox/chrono/libs/chrono/example/loop_stopclock_accumulator_example.cpp | 5
   sandbox/chrono/libs/chrono/example/nested_stopclock_accumulator_example.cpp | 15 +
   sandbox/chrono/libs/chrono/example/scoped_stopwatch_example.cpp | 5
   sandbox/chrono/libs/chrono/example/stopclock_accumulator_example.cpp | 5
   sandbox/chrono/libs/chrono/example/suspendible_stopclock_example.cpp | 15 +
   sandbox/chrono/libs/chrono/test/Jamfile.v2 | 95 ++++++------
   sandbox/chrono/libs/chrono/test/test_suspendible_clock.cpp | 14 +
   sandbox/chrono/libs/chrono/test/test_thread_clock.cpp | 4
   26 files changed, 225 insertions(+), 559 deletions(-)

Modified: sandbox/chrono/libs/chrono/build/Jamfile.v2
==============================================================================
--- sandbox/chrono/libs/chrono/build/Jamfile.v2 (original)
+++ sandbox/chrono/libs/chrono/build/Jamfile.v2 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -18,11 +18,13 @@
 
 project boost/chrono
     : source-location ../src
- : requirements
+ : requirements
+ <os>LINUX:<threading>multi
         # uncomment the line above if you build outside the Boost release
         #<include>$(BOOST_ROOT)
         # uncomment the line above if you build outside the Boost release
         #<include>../../..
+ <library>/boost/system//boost_system/<link>shared
         <define>BOOST_RATIO_USES_STATIC_ASSERT
         <define>BOOST_CHRONO_USES_STATIC_ASSERT
         #<define>BOOST_RATIO_USES_MPL_ASSERT
@@ -31,6 +33,8 @@
         #<define>BOOST_CHRONO_USES_ARRAY_ASSERT
         #<toolset>gcc:<linkflags>--enable-auto-import
     : usage-requirements # pass these requirement to dependents (i.e. users)
+ #<os>LINUX:<threading>multi
+ <library>/boost/system//boost_system/<link>shared
         <define>BOOST_RATIO_USES_STATIC_ASSERT
         <define>BOOST_CHRONO_USES_STATIC_ASSERT
         #<define>BOOST_RATIO_USES_MPL_ASSERT
@@ -45,7 +49,7 @@
 
 lib boost_chrono
     : $(SOURCES).cpp
- $(BOOST_ROOT)/libs/system/build//boost_system
+ #$(BOOST_ROOT)/libs/system/build//boost_system
     :
     <link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
     <link>static:<define>BOOST_All_STATIC_LINK=1 # tell source we're building static lib's

Modified: sandbox/chrono/libs/chrono/doc/chrono.qbk
==============================================================================
--- sandbox/chrono/libs/chrono/doc/chrono.qbk (original)
+++ sandbox/chrono/libs/chrono/doc/chrono.qbk 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -63,10 +63,12 @@
     * `process_system_CPU_clocks`, capturing system-CPU times.
     * `process_cpu_clock`, tuple-like class capturing at once real, user-CPU, and system-CPU times.
 
+[/
 * Suspendible Clock
     * Suspendible Clock concept
     * template class suspendible_clock<>
     * Added scope_suspend which do suspend/resume if the Clock is a model of Suspendible Clock concept, and nothing otherwise.
+]
 
 * Stopwatches:
     * `stopwatch`, capturing elapsed Clock times.
@@ -412,7 +414,7 @@
 Knowing how long a program, a function or a specific block takes to execute is useful in both test and production environments.
 __Boost_Chrono__ introduces the Stopwatch concept which captures the mechanism to measure the elapsed time.
 A Stopwatch allows to start, stop, suspend and resume the measure of the eleapsed time.
-`stopwatch<>` is the basic model of Stopwatch
+`stopwatch<>` is the basic model of Stopwatch allowing to make a single measure.
 
 At the user level, the main use case of measuring the elapsed time is to report these measures on the display.
 `stopwatch_reporter<>` provides a run time reporting package that can be invoked in a single line of code to report the usage of a Clock.
@@ -440,6 +442,8 @@
     0.011s
     0.017s
 
+[heading Stopwatches accumulation and statistics]
+
 The preceding stopwatch manage only with a measure. It is also interesting to have an statisitical view of these times, for example the sum, min, max and mean. `stopwatch_accumulator<>` associates an accumulator with a stopwatch, so we are able to retrieve any statistical feature Boost.Accumulator provides.
 
 For example
@@ -465,6 +469,9 @@
 
     3 times, sum=0.034s, min=0.006s, max=0.017s, mean=0.011s
 
+
+[heading Wall clock versus system and user time]
+
 It is also helpful if such timing information is broken down into real (wall clock) time, CPU time spent by the user, and CPU time spent by the operating system servicing user requests.
 
 __Boost_Chrono__ provides 3 concrete process clocks:
@@ -497,6 +504,27 @@
       // ...
     }
 
+[/
+[heading How reliable are these measure?]
+
+[info this section need to be reworked, the ideas are there, but ...]
+
+There are three context on which you can get unreliable measures:
+
+# the precission of your clock. If the precission of your clock is 10ms you can not be able to measure the time spent by blocks of code that takes the same order of magnitude. The library provides a hig_resolution_clock that gives you the higher resolution available on your platform. Respect to the precission, nothing to do except to take the clock with the highest resolution and measures blocks of code that will spent time having more than one order of magnitude.
+
+# When your application is multithreaded, and you use a process clock, the time you get is the delay during which your block has been executed, in concurrency with the other threads of execution. The library provide a thread_clock on platforms providing this kind of data.
+
+# 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 many time is related to the application code we want to measure and how many to the fact we are meassuring and logging in inner blocks?
+
+Some measures let me think that most of the time spent by the stopclock mechanism is associated to the logging part. There are two things we can do to make the difference :
+
+* Avoid the expensive operations as reporting while doing the measures. Note that reporting in itself is not too expensive as far as we don't need to flush the buffer. This can be achieved either using a stopclock accumulator, 'i.e. don't report until all the measures have been compiled and then report some statistics) or using an asynchronous stream.
+
+* Introduce some cheap mechanism that allows us to make the difference between the application time and the intrinsec stopclock time. When the precission of the clock is enough, we can suspend the counting of the Clock while we are speending time reporting the measures, and resume it once the work is done.
+
+]
+
 
 [endsect]
 [endsect]
@@ -581,6 +609,7 @@
 ]
 ]
 
+
 [/=========================================================]
 [heading Building an executable that uses __Boost_Chrono__ ]
 [/=========================================================]
@@ -614,11 +643,9 @@
 
 [/* Intel 11.0]
 
-[/SL Linux with
+Scientific Linux with
 
-* GCC 3.4.6
 * GCC 4.1.2
-]
 
 Cygwin with
 
@@ -1124,7 +1151,7 @@
 
 * `den` has the value `abs(D)/gcd`.
 
-The nested typedef `type` denotes the normalized form of this ratio type. It should be used when the template parameters don't give a normalized form.
+The nested typedef `type` denotes the normalized form of this ratio type. It should be used when the template parameters doesn't give a normalized form.
 
 Two `ratio` classes `ratio<N1,D1>` and `ratio<N2,D2>` have the same normalized form if `ratio<N1,D1>::type` is the same type as `ratio<N2,D2>::type`
 
@@ -2354,6 +2381,7 @@
 
 [endsect]
 
+[/
 [section:suspendible_clock_req `SuspendibleClock` requirements]
 
 A `SuspendibleClock` is a Clock that in addition support for `suspend`/`resume` operations.
@@ -2485,7 +2513,7 @@
 [endsect]
 
 [endsect]
-
+]
 [endsect]
 
 
@@ -4781,17 +4809,20 @@
 [section:history Appendix A: History]
 [/==================================]
 
-[section [*Version 0.3.2, January 24, 2010] ['New SuspendibleClock, New frequency, lifetime and percentage stopwatch_accumulator features]]
+[section [*Version 0.3.2, January 25, 2010] ['New frequency, lifetime and percentage stopwatch_accumulator features]]
 [*Features:]
 
-* Suspendible Clock concept + template class suspendible_clock<>
+[/* Suspendible Clock concept + template class suspendible_clock<>
 * Added scope_suspend which do suspend/resume if the Clock is a model of Suspendible Clock concept, and nothing otherwise.
 * Use of scope_suspend while reporting on stopwatch reporter
+]
 * Added overloading for operator/(Integer/Duration)
 * Added frequency, lifetime and percentage to the default stopwatch_accumulator_formatter
 
 [*Bug Fixes]
-* Specific formatters doesn't works
+* Specific formatters didn't work completly
+* Replace duration(0) by duration::zero() on template classes.
+* suspend doesn't works: partial_ not initialized neither taken in account by the elapsed function.
 
 [endsect]
 
@@ -5108,12 +5139,16 @@
 ]
 [endsect]
 
+[/
 [section Other Clocks]
 [table
     [[Name] [kind] [Description] [Result] [Ticket]]
     [[test_suspendible_clock] [run] [test basic uses of suspendible_clock.] [Pass] [#]]
 ]
 [endsect]
+
+]
+
 [section stopwatch]
 [table
     [[Name] [kind] [Description] [Result] [Ticket]]
@@ -5174,18 +5209,18 @@
     [[11] [MSVC reports a warning instead of an error when there is an integral constant overflow] [manage with MSVC reporting a warning instead of an error when there is an integral constant overflow] [Close]]
     [[12] [ambiguities with MSVC when using detail:: namespace] [Qualify with boost::detail boost::chrono::detail ] [Close]]
     [[13] [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'] [don't include inlines functions using the std::string m_format] [Close]]
- [[14] [Bade use of duration(0) on template classes] [remplace by duration::zero()] [Close]]
- [[15] [suspend don't works: partial_ not initialized] [initialize with duration::zero()] [Close]]
- [[16] [suspend don't works: elapsed don't take care of partial_] [take care of partial] [Close]]
- [[17] [suspend don't works: bad use of system::error_code & ec] [replace by system::error_code ec] [Close]]
+ [[14] [Bad use of duration(0) on template classes] [remplace by duration::zero()] [Close]]
+ [[15] [suspend doesn't works: partial_ not initialized] [initialize with duration::zero()] [Close]]
+ [[16] [suspend doesn't works: elapsed doesn't take care of partial_] [take care of partial] [Close]]
+ [[17] [suspend doesn't works: bad use of system::error_code & ec] [replace by system::error_code ec] [Close]]
     [[18] [warnings on mingw-gcc.4.4:[br]..\..\../boost/chrono/chrono.hpp: In copy constructor 'boost::chrono::time_point<boost::chrono::process_cpu_clock, boost::chrono::duration<boost::chrono::process_cpu_clock::times, boost::ratio<1ll, 1000000000ll> > >::time_point(const boost::chrono::time_point<boost::chrono::process_cpu_clock, boost::chrono::duration<boost::chrono::process_cpu_clock::times, boost::ratio<1ll, 1000000000ll> > >&)':
 ..\..\../boost/chrono/chrono.hpp:816: warning: suggest parentheses around '&&' within '||'
 ..\..\../boost/chrono/chrono.hpp:816: warning: suggest parentheses around '&&' within '||'] [???] [Open]]
- [[19] [suspendible_clock_test don't works in my windows environement (issue with tss)] [XXXX] [Open]]
- [[20] [Use of Specific formatters doesn't works] [XXXX] [Close]]
+ [[19] [Use of Specific formatters doesn't works] [XXXX] [Close]]
 
- [[21] [boost/chrono/scoped_suspend.hpp(31) : warning C4520: 'boost::chrono::scoped_suspend<Clock>' : multiple default constructors specified
+ [[20] [boost/chrono/scoped_suspend.hpp(31) : warning C4520: 'boost::chrono::scoped_suspend<Clock>' : multiple default constructors specified
 ] [XXXX] [Open]]
+ [/[[19] [suspendible_clock_test doesn't works in my mingw environement (issue with tss)] [XXXX] [Open]]]
     [[#] [XXXX] [XXXX] [Close]]
 ]
 

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -29,10 +29,10 @@
 <div class="toc"><dl>
 <dt><span class="section"> Appendix A: History</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="appendices/history.html#boost_chrono.appendices.history.__version_0_4__january_24__2010____new_suspendibleclock__new_frequency__lifetime_and_percentage_stopwatch_accumulator__features_"><span class="bold"><strong>Version 0.4, January 24, 2010</strong></span> <span class="emphasis"><em>New SuspendibleClock,
- New frequency, lifetime and percentage stopwatch_accumulator features</em></span></a></span></dt>
-<dt><span class="section"><a href="appendices/history.html#boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_allow_wide_characters___bug_fixes_"><span class="bold"><strong>Version 0.3.1, January 20, 2010</strong></span> <span class="emphasis"><em>New Allow
- wide characters + Bug fixes</em></span></a></span></dt>
+<dt><span class="section"><a href="appendices/history.html#boost_chrono.appendices.history.__version_0_3_2__january_25__2010____new_frequency__lifetime_and_percentage_stopwatch_accumulator_features_"><span class="bold"><strong>Version 0.3.2, January 25, 2010</strong></span> <span class="emphasis"><em>New frequency,
+ lifetime and percentage stopwatch_accumulator features</em></span></a></span></dt>
+<dt><span class="section"><a href="appendices/history.html#boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_support_for_wide_characters_"><span class="bold"><strong>Version 0.3.1, January 20, 2010</strong></span> <span class="emphasis"><em>New support
+ for wide characters</em></span></a></span></dt>
 <dt><span class="section"><a href="appendices/history.html#boost_chrono.appendices.history.__version_0_3_0__january_17__2010____new_stopwatch_stopclock_feature___bug_fixes_"><span class="bold"><strong>Version 0.3.0, January 17, 2010</strong></span> <span class="emphasis"><em>New stopwatch/stopclock
         feature + Bug fixes</em></span></a></span></dt>
 <dt><span class="section">Version 0.2.1, December 13, 2009 Bug fixes</span></dt>
@@ -52,7 +52,6 @@
 <dt><span class="section">common_type</span></dt>
 <dt><span class="section">ratio</span></dt>
 <dt><span class="section">chrono</span></dt>
-<dt><span class="section">Other Clocks</span></dt>
 <dt><span class="section">stopwatch</span></dt>
 </dl></dd>
 <dt><span class="section"> Appendix G: Tickets</span></dt>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -29,7 +29,7 @@
 <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_common_type_lt__gt__template_arguments_"></a><h4>
-<a name="id4922665"></a>
+<a name="id4920153"></a>
         <a href="faq.html#boost_chrono.appendices.faq.how_important_is_the_order_of_the_common_type_lt__gt__template_arguments_">How
         important is the order of the common_type&lt;&gt; template arguments?</a>
       </h4>
@@ -60,7 +60,7 @@
         is also undefined.
       </p>
 <a name="boost_chrono.appendices.faq.why_does_stopwatch_reporter_only_display_millisecond_place_precision_when_the_underlying_timer_has_nanosecond_precision_"></a><h4>
-<a name="id4923075"></a>
+<a name="id4920563"></a>
         <a href="faq.html#boost_chrono.appendices.faq.why_does_stopwatch_reporter_only_display_millisecond_place_precision_when_the_underlying_timer_has_nanosecond_precision_">Why
         does stopwatch_reporter only display millisecond place precision when the
         underlying timer has nanosecond precision?</a>
@@ -71,7 +71,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="id4923116"></a>
+<a name="id4920604"></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>
@@ -81,7 +81,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="id4923150"></a>
+<a name="id4920638"></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>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -27,10 +27,10 @@
 <a name="boost_chrono.appendices.history"></a> Appendix A: History
 </h3></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="history.html#boost_chrono.appendices.history.__version_0_4__january_24__2010____new_suspendibleclock__new_frequency__lifetime_and_percentage_stopwatch_accumulator__features_"><span class="bold"><strong>Version 0.4, January 24, 2010</strong></span> <span class="emphasis"><em>New SuspendibleClock,
- New frequency, lifetime and percentage stopwatch_accumulator features</em></span></a></span></dt>
-<dt><span class="section"><a href="history.html#boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_allow_wide_characters___bug_fixes_"><span class="bold"><strong>Version 0.3.1, January 20, 2010</strong></span> <span class="emphasis"><em>New Allow
- wide characters + Bug fixes</em></span></a></span></dt>
+<dt><span class="section"><a href="history.html#boost_chrono.appendices.history.__version_0_3_2__january_25__2010____new_frequency__lifetime_and_percentage_stopwatch_accumulator_features_"><span class="bold"><strong>Version 0.3.2, January 25, 2010</strong></span> <span class="emphasis"><em>New frequency,
+ lifetime and percentage stopwatch_accumulator features</em></span></a></span></dt>
+<dt><span class="section"><a href="history.html#boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_support_for_wide_characters_"><span class="bold"><strong>Version 0.3.1, January 20, 2010</strong></span> <span class="emphasis"><em>New support
+ for wide characters</em></span></a></span></dt>
 <dt><span class="section"><a href="history.html#boost_chrono.appendices.history.__version_0_3_0__january_17__2010____new_stopwatch_stopclock_feature___bug_fixes_"><span class="bold"><strong>Version 0.3.0, January 17, 2010</strong></span> <span class="emphasis"><em>New stopwatch/stopclock
         feature + Bug fixes</em></span></a></span></dt>
 <dt><span class="section">Version 0.2.1, December 13, 2009 Bug fixes</span></dt>
@@ -41,36 +41,33 @@
 </dl></div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_chrono.appendices.history.__version_0_4__january_24__2010____new_suspendibleclock__new_frequency__lifetime_and_percentage_stopwatch_accumulator__features_"></a><a href="history.html#boost_chrono.appendices.history.__version_0_4__january_24__2010____new_suspendibleclock__new_frequency__lifetime_and_percentage_stopwatch_accumulator__features_" title="Version 0.4, January 24, 2010 New SuspendibleClock,
- New frequency, lifetime and percentage stopwatch_accumulator features"><span class="bold"><strong>Version 0.4, January 24, 2010</strong></span> <span class="emphasis"><em>New SuspendibleClock,
- New frequency, lifetime and percentage stopwatch_accumulator features</em></span></a>
+<a name="boost_chrono.appendices.history.__version_0_3_2__january_25__2010____new_frequency__lifetime_and_percentage_stopwatch_accumulator_features_"></a><a href="history.html#boost_chrono.appendices.history.__version_0_3_2__january_25__2010____new_frequency__lifetime_and_percentage_stopwatch_accumulator_features_" title="Version 0.3.2, January 25, 2010 New frequency,
+ lifetime and percentage stopwatch_accumulator features"><span class="bold"><strong>Version 0.3.2, January 25, 2010</strong></span> <span class="emphasis"><em>New frequency,
+ lifetime and percentage stopwatch_accumulator features</em></span></a>
 </h4></div></div></div>
 <p>
           <span class="bold"><strong>Features:</strong></span>
         </p>
 <div class="itemizedlist"><ul type="disc">
 <li>
- Suspendible Clock concept + template class suspendible_clock&lt;&gt;
- </li>
-<li>
- Added scope_suspend which will do nothing if the Clock is not a Suspendible
- Clock concept, and suspend<span class="emphasis"><em>resume otherwise. * Use of scope_suspend
- while reporting on stopwatch reporter * Added overloading for operator</em></span>(Integer/Duration)
+ Added overloading for operator/(Integer/Duration)
           </li>
 <li>
             Added frequency, lifetime and percentage to the default stopwatch_accumulator_formatter
           </li>
 </ul></div>
 <p>
- <span class="bold"><strong>Bug Fixes</strong></span> * Specific formatters doesn't
- works
+ <span class="bold"><strong>Bug Fixes</strong></span> * Specific formatters didn't
+ work completly * Replace duration(0) by duration::zero() on template classes.
+ * suspend doesn't works: partial_ not initialized neither taken in account
+ by the elapsed function.
         </p>
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_allow_wide_characters___bug_fixes_"></a><a href="history.html#boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_allow_wide_characters___bug_fixes_" title="Version 0.3.1, January 20, 2010 New Allow
- wide characters + Bug fixes"><span class="bold"><strong>Version 0.3.1, January 20, 2010</strong></span> <span class="emphasis"><em>New Allow
- wide characters + Bug fixes</em></span></a>
+<a name="boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_support_for_wide_characters_"></a><a href="history.html#boost_chrono.appendices.history.__version_0_3_1__january_20__2010____new_support_for_wide_characters_" title="Version 0.3.1, January 20, 2010 New support
+ for wide characters"><span class="bold"><strong>Version 0.3.1, January 20, 2010</strong></span> <span class="emphasis"><em>New support
+ for wide characters</em></span></a>
 </h4></div></div></div>
 <p>
           <span class="bold"><strong>Features:</strong></span>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -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__code__phrase_role__identifier__duration__phrase___code__to_a_function_with_the_units_being_ambiguous_"></a><h4>
-<a name="id4921449"></a>
+<a name="id4918937"></a>
         <a href="rationale.html#boost_chrono.appendices.rationale.is_it_possible_for_the_user_to_pass_a__code__phrase_role__identifier__duration__phrase___code__to_a_function_with_the_units_being_ambiguous_">Is
         it possible for the user to pass a <code class="computeroutput"><span class="identifier">duration</span></code>
         to a function with the units being ambiguous?</a>
@@ -45,7 +45,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="id4921539"></a>
+<a name="id4919027"></a>
         <a href="rationale.html#boost_chrono.appendices.rationale.why_duration_needs_operator_">Why
         duration needs operator%</a>
       </h4>
@@ -73,7 +73,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="id4922119"></a>
+<a name="id4919607"></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>
@@ -101,7 +101,7 @@
         ratio&lt;1,3&gt; and the compilation succeeds.
       </p>
 <a name="boost_chrono.appendices.rationale.why_ratio_needs_the_nested_normalizer_typedef_type"></a><h4>
-<a name="id4922432"></a>
+<a name="id4919920"></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>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -31,7 +31,6 @@
 <dt><span class="section">common_type</span></dt>
 <dt><span class="section">ratio</span></dt>
 <dt><span class="section">chrono</span></dt>
-<dt><span class="section">Other Clocks</span></dt>
 <dt><span class="section">stopwatch</span></dt>
 </dl></div>
 <p>
@@ -687,74 +686,6 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="boost_chrono.appendices.tests.other_clocks"></a>Other Clocks
-</h4></div></div></div>
-<div class="informaltable"><table class="table">
-<colgroup>
-<col>
-<col>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- Name
- </p>
- </th>
-<th>
- <p>
- kind
- </p>
- </th>
-<th>
- <p>
- Description
- </p>
- </th>
-<th>
- <p>
- Result
- </p>
- </th>
-<th>
- <p>
- Ticket
- </p>
- </th>
-</tr></thead>
-<tbody><tr>
-<td>
- <p>
- test_suspendible_clock
- </p>
- </td>
-<td>
- <p>
- run
- </p>
- </td>
-<td>
- <p>
- test basic uses of suspendible_clock.
- </p>
- </td>
-<td>
- <p>
- Pass
- </p>
- </td>
-<td>
- <p>
- #
- </p>
- </td>
-</tr></tbody>
-</table></div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h4 class="title">
 <a name="boost_chrono.appendices.tests.stopwatch"></a>stopwatch
 </h4></div></div></div>
 <div class="informaltable"><table class="table">

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -402,7 +402,7 @@
               </td>
 <td>
               <p>
- Bade use of duration(0) on template classes
+ Bad use of duration(0) on template classes
               </p>
               </td>
 <td>
@@ -424,7 +424,7 @@
               </td>
 <td>
               <p>
- suspend don't works: partial_ not initialized
+ suspend doesn't works: partial_ not initialized
               </p>
               </td>
 <td>
@@ -446,7 +446,7 @@
               </td>
 <td>
               <p>
- suspend don't works: elapsed don't take care of partial_
+ suspend doesn't works: elapsed doesn't take care of partial_
               </p>
               </td>
 <td>
@@ -468,7 +468,7 @@
               </td>
 <td>
               <p>
- suspend don't works: bad use of system::error_code &amp; ec
+ suspend doesn't works: bad use of system::error_code &amp; ec
               </p>
               </td>
 <td>
@@ -519,29 +519,6 @@
               </td>
 <td>
               <p>
- suspendible_clock_test don't works in my windows environement (issue
- with tss)
- </p>
- </td>
-<td>
- <p>
- XXXX
- </p>
- </td>
-<td>
- <p>
- Open
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- 20
- </p>
- </td>
-<td>
- <p>
                 Use of Specific formatters doesn't works
               </p>
               </td>
@@ -559,7 +536,7 @@
 <tr>
 <td>
               <p>
- 21
+ 20
               </p>
               </td>
 <td>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -26,7 +26,7 @@
 <a name="boost_chrono.appendices.todo"></a> Appendix H: Future plans
 </h3></div></div></div>
 <a name="boost_chrono.appendices.todo.tasks_to_do_before_review"></a><h4>
-<a name="id4925742"></a>
+<a name="id4923094"></a>
         <a href="todo.html#boost_chrono.appendices.todo.tasks_to_do_before_review">Tasks
         to do before review</a>
       </h4>
@@ -42,7 +42,7 @@
         </li>
 </ul></div>
 <a name="boost_chrono.appendices.todo.for_later_releases"></a><h4>
-<a name="id4925781"></a>
+<a name="id4923133"></a>
         <a href="todo.html#boost_chrono.appendices.todo.for_later_releases">For later
         releases</a>
       </h4>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -98,21 +98,6 @@
 </ul></div>
 </li>
 <li>
- Suspendible Clock
- <div class="itemizedlist"><ul type="circle">
-<li>
- Suspendible Clock concept
- </li>
-<li>
- template class suspendible_clock&lt;&gt;
- </li>
-<li>
- Added scope_suspend which do suspend/resume if the Clock is a model of
- Suspendible Clock concept, and nothing otherwise.
- </li>
-</ul></div>
-</li>
-<li>
         Stopwatches:
         <div class="itemizedlist"><ul type="circle">
 <li>
@@ -147,7 +132,7 @@
 </li>
 </ul></div>
 <a name="boost_chrono.overview.how_to_use_this_documentation"></a><h3>
-<a name="id4765096"></a>
+<a name="id4765074"></a>
       <a href="overview.html#boost_chrono.overview.how_to_use_this_documentation">How to
       Use This Documentation</a>
     </h3>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -237,7 +237,7 @@
           needs only 23 bits to cover that range.
         </p>
 <a name="boost_chrono.overview.motivation.duration.so_what_exactly_is_a__code__phrase_role__identifier__duration__phrase___code__and_how_do_i_use_one_"></a><h5>
-<a name="id4759436"></a>
+<a name="id4759415"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.duration.so_what_exactly_is_a__code__phrase_role__identifier__duration__phrase___code__and_how_do_i_use_one_">So
           What Exactly is a <code class="computeroutput"><span class="identifier">duration</span></code>
           and How Do I Use One?</a>
@@ -295,7 +295,7 @@
           instead of inheritance).
         </p>
 <a name="boost_chrono.overview.motivation.duration.what_happens_if_i_assign__code__phrase_role__identifier__m3__phrase___phrase_role__special_____phrase___phrase_role__identifier__us3__phrase___code__to__code__phrase_role__identifier__minutes__phrase___code__instead_of__code__phrase_role__identifier__microseconds__phrase___code__"></a><h5>
-<a name="id4813050"></a>
+<a name="id4813031"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.duration.what_happens_if_i_assign__code__phrase_role__identifier__m3__phrase___phrase_role__special_____phrase___phrase_role__identifier__us3__phrase___code__to__code__phrase_role__identifier__minutes__phrase___code__instead_of__code__phrase_role__identifier__microseconds__phrase___code__">What
           happens if I assign <code class="computeroutput"><span class="identifier">m3</span> <span class="special">+</span> <span class="identifier">us3</span></code>
           to <code class="computeroutput"><span class="identifier">minutes</span></code> instead of
@@ -312,7 +312,7 @@
           ignored. This is similar to the problem of assigning a double to an <code class="computeroutput"><span class="keyword">int</span></code>: the fractional part gets silently discarded.
         </p>
 <a name="boost_chrono.overview.motivation.duration.but_what_if_the_truncation_behavior_is_what_i_want_to_do_"></a><h5>
-<a name="id4813220"></a>
+<a name="id4813200"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.duration.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>
         </h5>
@@ -332,7 +332,7 @@
           as often as it can.
         </p>
 <a name="boost_chrono.overview.motivation.duration.i_m_trafficking_in_floating_point__code__phrase_role__identifier__duration__phrase___code_s__i_don_t_want_to_deal_with_writing__code__phrase_role__identifier__duration_cast__phrase___code__all_over_the_place__i_m_content_with_the_precision_of_my_floating_point_representation"></a><h5>
-<a name="id4813356"></a>
+<a name="id4813336"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.duration.i_m_trafficking_in_floating_point__code__phrase_role__identifier__duration__phrase___code_s__i_don_t_want_to_deal_with_writing__code__phrase_role__identifier__duration_cast__phrase___code__all_over_the_place__i_m_content_with_the_precision_of_my_floating_point_representation">I'm
           trafficking in floating point <code class="computeroutput"><span class="identifier">duration</span></code>s.
           I don't want to deal with writing <code class="computeroutput"><span class="identifier">duration_cast</span></code>
@@ -347,7 +347,7 @@
 <span class="identifier">dminutes</span> <span class="identifier">dm4</span> <span class="special">=</span> <span class="identifier">m3</span> <span class="special">+</span> <span class="identifier">us3</span><span class="special">;</span> <span class="comment">// dm4.count() == 5.000000083333333
 </span></pre>
 <a name="boost_chrono.overview.motivation.duration.how_expensive_is_all_of_this_"></a><h5>
-<a name="id4813518"></a>
+<a name="id4813499"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.duration.how_expensive_is_all_of_this_">How
           expensive is all of this?</a>
         </h5>
@@ -361,7 +361,7 @@
           tick counts.
         </p>
 <a name="boost_chrono.overview.motivation.duration.how_complicated_is_it_to_build_a_function_taking_a__code__phrase_role__identifier__duration__phrase___code__parameter_"></a><h5>
-<a name="id4813568"></a>
+<a name="id4813549"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.duration.how_complicated_is_it_to_build_a_function_taking_a__code__phrase_role__identifier__duration__phrase___code__parameter_">How
           complicated is it to build a function taking a <code class="computeroutput"><span class="identifier">duration</span></code>
           parameter?</a>
@@ -583,7 +583,7 @@
           the relationship between the epochs associated with each clock is known.
         </p>
 <a name="boost_chrono.overview.motivation.time_point.so_what_exactly_is_a__code__phrase_role__identifier__time_point__phrase___code__and_how_do_i_use_one_"></a><h5>
-<a name="id4815374"></a>
+<a name="id4815354"></a>
           <a href="motivation.html#boost_chrono.overview.motivation.time_point.so_what_exactly_is_a__code__phrase_role__identifier__time_point__phrase___code__and_how_do_i_use_one_">So
           What Exactly is a <code class="computeroutput"><span class="identifier">time_point</span></code>
           and How Do I Use One?</a>
@@ -674,6 +674,7 @@
           introduces the Stopwatch concept which captures the mechanism to measure
           the elapsed time. A Stopwatch allows to start, stop, suspend and resume
           the measure of the eleapsed time. <code class="computeroutput"><span class="identifier">stopwatch</span><span class="special">&lt;&gt;</span></code> is the basic model of Stopwatch
+ allowing to make a single measure.
         </p>
 <p>
           At the user level, the main use case of measuring the elapsed time is to
@@ -700,9 +701,15 @@
 <p>
           Will produce the following output
         </p>
-<p>
- 0.006s 0.011s 0.017s
- </p>
+<pre class="programlisting"><span class="number">0.006</span><span class="identifier">s</span>
+<span class="number">0.011</span><span class="identifier">s</span>
+<span class="number">0.017</span><span class="identifier">s</span>
+</pre>
+<a name="boost_chrono.overview.motivation.stopwatches.stopwatches_accumulation_and_statistics"></a><h5>
+<a name="id4816458"></a>
+ <a href="motivation.html#boost_chrono.overview.motivation.stopwatches.stopwatches_accumulation_and_statistics">Stopwatches
+ accumulation and statistics</a>
+ </h5>
 <p>
           The preceding stopwatch manage only with a measure. It is also interesting
           to have an statisitical view of these times, for example the sum, min,
@@ -735,6 +742,11 @@
         </p>
 <pre class="programlisting"><span class="number">3</span> <span class="identifier">times</span><span class="special">,</span> <span class="identifier">sum</span><span class="special">=</span><span class="number">0.034</span><span class="identifier">s</span><span class="special">,</span> <span class="identifier">min</span><span class="special">=</span><span class="number">0.006</span><span class="identifier">s</span><span class="special">,</span> <span class="identifier">max</span><span class="special">=</span><span class="number">0.017</span><span class="identifier">s</span><span class="special">,</span> <span class="identifier">mean</span><span class="special">=</span><span class="number">0.011</span><span class="identifier">s</span>
 </pre>
+<a name="boost_chrono.overview.motivation.stopwatches.wall_clock_versus_system_and_user_time"></a><h5>
+<a name="id4816976"></a>
+ <a href="motivation.html#boost_chrono.overview.motivation.stopwatches.wall_clock_versus_system_and_user_time">Wall
+ clock versus system and user time</a>
+ </h5>
 <p>
           It is also helpful if such timing information is broken down into real
           (wall clock) time, CPU time spent by the user, and CPU time spent by the

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -41,16 +41,8 @@
         <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">typeof</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">chorno</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt>
 </dl></dd>
 <dt><span class="section">Other clocks</span></dt>
-<dd><dl>
-<dt><span class="section"><a href="reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">process_cpu_clocks</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt>
-<dt><span class="section"><a href="reference/other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req">
- <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code> requirements</a></span></dt>
-<dt><span class="section"><a href="reference/other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">scoped_suspend</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt>
-<dt><span class="section"><a href="reference/other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">suspendible_clock</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt>
-</dl></dd>
+<dd><dl><dt><span class="section"><a href="reference/other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp">
+ Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">process_cpu_clocks</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt></dl></dd>
 <dt><span class="section">Stopwatches</span></dt>
 <dd><dl>
 <dt><span class="section"><a href="reference/stopwatches.html#boost_chrono.reference.stopwatches.stopwatches_hpp">

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -259,7 +259,7 @@
 <p>
             The nested typedef <code class="computeroutput"><span class="identifier">type</span></code>
             denotes the normalized form of this ratio type. It should be used when
- the template parameters don't give a normalized form.
+ the template parameters doesn't give a normalized form.
           </p>
 <p>
             Two <code class="computeroutput"><span class="identifier">ratio</span></code> classes <code class="computeroutput"><span class="identifier">ratio</span><span class="special">&lt;</span><span class="identifier">N1</span><span class="special">,</span><span class="identifier">D1</span><span class="special">&gt;</span></code>
@@ -608,7 +608,7 @@
             and both of these calls happen before <code class="computeroutput"><span class="identifier">C1</span><span class="special">::</span><span class="identifier">time_point</span><span class="special">::</span><span class="identifier">max</span><span class="special">()</span></code>.
           </p>
 <div class="table">
-<a name="id4839076"></a><p class="title"><b>Table 1. Clock Requirements</b></p>
+<a name="id4839287"></a><p class="title"><b>Table 1. Clock Requirements</b></p>
 <table class="table" summary="Clock Requirements">
 <colgroup>
 <col>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -40,28 +40,6 @@
 <dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.process_cpu_clocks_hpp.class__process_cpu_clock_">Class
           <code class="computeroutput"><span class="identifier">process_cpu_clock</span></code></a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req">
- <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code> requirements</a></span></dt>
-<dd><dl>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspend">
- Static Member Function <code class="computeroutput"><span class="identifier">suspend</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_resume">
- Static Member Function <code class="computeroutput"><span class="identifier">resume</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspended">
- Static Member Function <code class="computeroutput"><span class="identifier">suspended</span><span class="special">()</span></code></a></span></dt>
-</dl></dd>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">scoped_suspend</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt>
-<dd><dl>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp.meta_function_class__is_suspendible_">Meta
- Function Class <code class="computeroutput"><span class="identifier">is_suspendible</span></code></a></span></dt>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp.template_class__scoped_suspend_">Template
- Class <code class="computeroutput"><span class="identifier">scoped_suspend</span></code></a></span></dt>
-</dl></dd>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">suspendible_clock</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a></span></dt>
-<dd><dl><dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___">Template
- Class <code class="computeroutput"><span class="identifier">suspendible_clock</span><span class="special">&lt;&gt;</span></code></a></span></dt></dl></dd>
 </dl></div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
@@ -277,278 +255,6 @@
 </div>
 </div>
 </div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_req"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req" title="
- SuspendibleClock requirements">
- <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code> requirements</a>
-</h4></div></div></div>
-<div class="toc"><dl>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspend">
- Static Member Function <code class="computeroutput"><span class="identifier">suspend</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_resume">
- Static Member Function <code class="computeroutput"><span class="identifier">resume</span><span class="special">()</span></code></a></span></dt>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspended">
- Static Member Function <code class="computeroutput"><span class="identifier">suspended</span><span class="special">()</span></code></a></span></dt>
-</dl></div>
-<p>
- A <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code> is a
- Clock that in addition support for <code class="computeroutput"><span class="identifier">suspend</span></code>/<code class="computeroutput"><span class="identifier">resume</span></code> operations.
- </p>
-<p>
- A <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code> must
- meet the requirements in the following Table.
- </p>
-<p>
- In this table <code class="computeroutput"><span class="identifier">C</span></code> denote
- <code class="computeroutput"><span class="identifier">clock</span></code> types.
- </p>
-<div class="table">
-<a name="id4861995"></a><p class="title"><b>Table 2. SuspendibleClock Requirements</b></p>
-<table class="table" summary="SuspendibleClock Requirements">
-<colgroup>
-<col>
-<col>
-<col>
-</colgroup>
-<thead><tr>
-<th>
- <p>
- expression
- </p>
- </th>
-<th>
- <p>
- return type
- </p>
- </th>
-<th>
- <p>
- operational semantics
- </p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">C</span><span class="special">::</span><span class="identifier">suspend</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">void</span></code>
- </p>
- </td>
-<td>
- <p>
- Suspends the time counting of the clock C.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">C</span><span class="special">::</span><span class="identifier">resume</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="keyword">void</span></code>
- </p>
- </td>
-<td>
- <p>
- Resumes the time counting of the clock C.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">C</span><span class="special">::</span><span class="identifier">suspended</span><span class="special">()</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">duration</span></code>
- </p>
- </td>
-<td>
- <p>
- Returns the delay(duration during which the clock has been suspended.
- </p>
- </td>
-</tr>
-</tbody>
-</table>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h5 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspend"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspend" title="
- Static Member Function suspend()">
- Static Member Function <code class="computeroutput"><span class="identifier">suspend</span><span class="special">()</span></code></a>
-</h5></div></div></div>
-<pre class="programlisting"><span class="keyword">void</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">&amp;</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> Suspends the SuspendibleClock.
- </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><span class="special">(</span><span class="identifier">ec</span><span class="special">)</span></code>
- function can throw. Otherwise <code class="computeroutput"><span class="identifier">ec</span></code>
- is set with the correspoding error code set by <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">now</span><span class="special">(</span><span class="identifier">ec</span><span class="special">)</span></code>.
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h5 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_resume"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_resume" title="
- Static Member Function resume()">
- Static Member Function <code class="computeroutput"><span class="identifier">resume</span><span class="special">()</span></code></a>
-</h5></div></div></div>
-<pre class="programlisting"><span class="keyword">void</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">&amp;</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> Resumes the <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code>.
- </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><span class="special">(</span><span class="identifier">ec</span><span class="special">)</span></code>
- can throw. Otherwise <code class="computeroutput"><span class="identifier">ec</span></code>
- is set with the correspoding error code set by <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">now</span><span class="special">(</span><span class="identifier">ec</span><span class="special">)</span></code>.
- </p>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h5 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspended"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_req.SuspendibleClock_suspended" title="
- Static Member Function suspended()">
- Static Member Function <code class="computeroutput"><span class="identifier">suspended</span><span class="special">()</span></code></a>
-</h5></div></div></div>
-<pre class="programlisting"><span class="identifier">duration</span> <span class="identifier">suspended</span><span class="special">(</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</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>Returns:</strong></span> the cumalative elapsed duration
- during which the <code class="computeroutput"><span class="identifier">SuspendibleClock</span></code>
- has been suspendeed.
- </p>
-<p>
- <span class="bold"><strong>Throw:</strong></span> Any exception the Clock::now
- function can throw if <code class="computeroutput"><span class="identifier">ec</span> <span class="special">==</span> <span class="identifier">system</span><span class="special">::</span><span class="identifier">throws</span></code>.
- Otherwise <code class="computeroutput"><span class="identifier">ec</span></code> is set with
- the correspoding error code set by <code class="computeroutput"><span class="identifier">Clock</span><span class="special">::</span><span class="identifier">now</span><span class="special">(</span><span class="identifier">ec</span><span class="special">)</span></code>.
- </p>
-</div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_chrono.reference.other_clocks.scoped_suspend_hpp"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp" title="
- Header &lt;boost/chrono/scoped_suspend.hpp&gt;">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">scoped_suspend</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a>
-</h4></div></div></div>
-<div class="toc"><dl>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp.meta_function_class__is_suspendible_">Meta
- Function Class <code class="computeroutput"><span class="identifier">is_suspendible</span></code></a></span></dt>
-<dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp.template_class__scoped_suspend_">Template
- Class <code class="computeroutput"><span class="identifier">scoped_suspend</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">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span> <span class="keyword">struct</span> <span class="identifier">is_suspendible</span><span class="special">;</span>
- <span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span> <span class="keyword">class</span> <span class="identifier">scoped_suspend</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.other_clocks.scoped_suspend_hpp.meta_function_class__is_suspendible_"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp.meta_function_class__is_suspendible_" title="Meta
- Function Class is_suspendible">Meta
- Function Class <code class="computeroutput"><span class="identifier">is_suspendible</span></code></a>
-</h5></div></div></div>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span>
-<span class="keyword">struct</span> <span class="identifier">is_suspendible</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span> <span class="identifier">false_</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.other_clocks.scoped_suspend_hpp.template_class__scoped_suspend_"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.scoped_suspend_hpp.template_class__scoped_suspend_" title="Template
- Class scoped_suspend">Template
- Class <code class="computeroutput"><span class="identifier">scoped_suspend</span></code></a>
-</h5></div></div></div>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span>
-<span class="keyword">class</span> <span class="identifier">scoped_suspend</span> <span class="special">{</span>
-<span class="keyword">public</span><span class="special">:</span>
- <span class="identifier">scoped_suspend</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</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="special">{}</span>
- <span class="special">~</span><span class="identifier">scoped_suspend</span><span class="special">()</span> <span class="special">{}</span>
-<span class="keyword">private</span><span class="special">:</span>
- <span class="identifier">scoped_suspend</span><span class="special">();</span> <span class="comment">// = delete;
-</span> <span class="identifier">scoped_suspend</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">scoped_suspend</span><span class="special">&amp;);</span> <span class="comment">// = delete;
-</span> <span class="identifier">scoped_suspend</span><span class="special">&amp;</span> <span class="keyword">operator</span><span class="special">=(</span><span class="keyword">const</span> <span class="identifier">scoped_suspend</span><span class="special">&amp;);</span> <span class="comment">// = delete;
-</span><span class="special">};</span>
-</pre>
-</div>
-</div>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h4 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_hpp"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp" title="
- Header &lt;boost/chrono/suspendible_clock.hpp&gt;">
- Header <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">chrono</span><span class="special">/</span><span class="identifier">suspendible_clock</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code></a>
-</h4></div></div></div>
-<div class="toc"><dl><dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___">Template
- Class <code class="computeroutput"><span class="identifier">suspendible_clock</span><span class="special">&lt;&gt;</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">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span>
- <span class="keyword">class</span> <span class="identifier">suspendible_clock</span><span class="special">;</span>
-
- <span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span>
- <span class="keyword">struct</span> <span class="identifier">is_suspendible</span><span class="special">&lt;</span><span class="identifier">suspendible_clock</span><span class="special">&lt;</span><span class="identifier">Clock</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span> <span class="identifier">true_</span> <span class="special">{};</span>
-
- <span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span>
- <span class="keyword">class</span> <span class="identifier">scoped_suspend</span><span class="special">&lt;</span><span class="identifier">suspendible_clock</span><span class="special">&lt;</span><span class="identifier">Clock</span><span class="special">&gt;</span> <span class="special">&gt;;</span>
-
-<span class="special">}}</span>
-</pre>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h5 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___" title="Template
- Class suspendible_clock&lt;&gt;">Template
- Class <code class="computeroutput"><span class="identifier">suspendible_clock</span><span class="special">&lt;&gt;</span></code></a>
-</h5></div></div></div>
-<div class="toc"><dl><dt><span class="section"><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___._scoped_suspend__specialization_for__suspendible_clock___"><code class="computeroutput"><span class="identifier">scoped_suspend</span></code> specialization for
- <code class="computeroutput"><span class="identifier">suspendible_clock</span><span class="special">&lt;&gt;</span></code></a></span></dt></dl></div>
-<p>
- Given a <code class="computeroutput"><span class="identifier">Clock</span></code>, <code class="computeroutput"><span class="identifier">suspendible_clock</span><span class="special">&lt;</span><span class="identifier">Clock</span><span class="special">&gt;</span></code>
- is a model of SuspendibleClock.
- </p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span> <span class="keyword">class</span> <span class="identifier">Clock</span> <span class="special">&gt;</span>
-<span class="keyword">class</span> <span class="identifier">suspendible_clock</span> <span class="special">{</span>
-<span class="keyword">public</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">rep</span> <span class="identifier">rep</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">period</span> <span class="identifier">period</span><span class="special">;</span>
- <span class="keyword">typedef</span> <span class="identifier">chrono</span><span class="special">::</span><span class="identifier">time_point</span><span class="special">&lt;</span><span class="identifier">suspendible_clock</span><span class="special">&lt;</span><span class="identifier">Clock</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">time_point</span><span class="special">;</span>
- <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">is_monotonic</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">;</span>
-
- <span class="keyword">static</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">&amp;</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">static</span> <span class="keyword">void</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">&amp;</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">static</span> <span class="keyword">void</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">&amp;</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">static</span> <span class="identifier">duration</span> <span class="identifier">suspended</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</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="special">};</span>
-</pre>
-<div class="section" lang="en">
-<div class="titlepage"><div><div><h6 class="title">
-<a name="boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___._scoped_suspend__specialization_for__suspendible_clock___"></a><a href="other_clocks.html#boost_chrono.reference.other_clocks.suspendible_clock_hpp.template_class__suspendible_clock___._scoped_suspend__specialization_for__suspendible_clock___" title="scoped_suspend specialization for
- suspendible_clock&lt;&gt;"><code class="computeroutput"><span class="identifier">scoped_suspend</span></code> specialization for
- <code class="computeroutput"><span class="identifier">suspendible_clock</span><span class="special">&lt;&gt;</span></code></a>
-</h6></div></div></div>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Clock</span><span class="special">&gt;</span>
-<span class="keyword">class</span> <span class="identifier">scoped_suspend</span><span class="special">&lt;</span><span class="identifier">suspendible_clock</span><span class="special">&lt;</span><span class="identifier">Clock</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="special">{</span>
-<span class="keyword">public</span><span class="special">:</span>
- <span class="identifier">scoped_suspend</span><span class="special">(</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</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="special">~</span><span class="identifier">scoped_suspend</span><span class="special">();</span>
-<span class="special">};</span>
-</pre>
-</div>
-</div>
-</div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatch_reporters.html
==============================================================================
--- sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatch_reporters.html (original)
+++ sandbox/chrono/libs/chrono/doc/html/boost_chrono/reference/stopwatch_reporters.html 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -78,7 +78,7 @@
           <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span></code>, ec is a system::error_code
         </p>
 <div class="table">
-<a name="id4873774"></a><p class="title"><b>Table 4. Stopwatch Requirements</b></p>
+<a name="id4871278"></a><p class="title"><b>Table 3. Stopwatch Requirements</b></p>
 <table class="table" summary="Stopwatch Requirements">
 <colgroup>
 <col>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -135,7 +135,7 @@
           is an instance of <code class="computeroutput"><span class="identifier">S</span></code>.
         </p>
 <div class="table">
-<a name="id4865520"></a><p class="title"><b>Table 3. Stopwatch Requirements</b></p>
+<a name="id4863025"></a><p class="title"><b>Table 2. Stopwatch Requirements</b></p>
 <table class="table" summary="Stopwatch Requirements">
 <colgroup>
 <col>

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -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="id4817378"></a>
+<a name="id4817433"></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>
@@ -53,7 +53,7 @@
           Sandbox</a>.
         </p>
 <a name="boost_chrono.users_guide.getting_started.install.where_to_install__emphasis_role__bold__boost_chrono__emphasis___"></a><h5>
-<a name="id4817439"></a>
+<a name="id4817494"></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>
@@ -69,7 +69,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="id4817481"></a>
+<a name="id4758235"></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>
@@ -80,7 +80,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="id4817549"></a>
+<a name="id4758306"></a>
           <a href="getting_started.html#boost_chrono.users_guide.getting_started.install.requirements">Requirements</a>
         </h5>
 <p>
@@ -129,7 +129,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="id4817750"></a>
+<a name="id4817947"></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>
@@ -139,7 +139,7 @@
           with the Boost System library.
         </p>
 <a name="boost_chrono.users_guide.getting_started.install.exceptions_safety_"></a><h5>
-<a name="id4817786"></a>
+<a name="id4817983"></a>
           <a href="getting_started.html#boost_chrono.users_guide.getting_started.install.exceptions_safety_">Exceptions
           safety </a>
         </h5>
@@ -148,7 +148,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="id4817812"></a>
+<a name="id4818010"></a>
           <a href="getting_started.html#boost_chrono.users_guide.getting_started.install.thread_safety_">Thread
           safety </a>
         </h5>
@@ -156,7 +156,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="id4817837"></a>
+<a name="id4818034"></a>
           <a href="getting_started.html#boost_chrono.users_guide.getting_started.install.tested_compilers_">Tested
           compilers </a>
         </h5>
@@ -179,6 +179,12 @@
           </li>
 </ul></div>
 <p>
+ Scientific Linux with
+ </p>
+<div class="itemizedlist"><ul type="disc"><li>
+ GCC 4.1.2
+ </li></ul></div>
+<p>
           Cygwin with
         </p>
 <div class="itemizedlist"><ul type="disc">

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-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -120,7 +120,7 @@
 </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: January 24, 2010 at 21:03:56 GMT</small></p></td>
+<td align="left"><p><small>Last revised: January 25, 2010 at 22:48:08 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: sandbox/chrono/libs/chrono/example/loop_stopclock_accumulator_example.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/example/loop_stopclock_accumulator_example.cpp (original)
+++ sandbox/chrono/libs/chrono/example/loop_stopclock_accumulator_example.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -11,7 +11,8 @@
 #include <boost/chrono/stopwatches.hpp>
 
 #include <cmath>
-#include <boost/thread.hpp>
+//#include <boost/thread.hpp>
+#include "sleep_for.hpp"
 
 using namespace boost::chrono;
 int f1(long j)
@@ -23,7 +24,7 @@
       //~ std::cout << " j="<<j <<" ";
     //~ stopclock<> s;
     std::sqrt( 123.456L ); // burn some time
- boost::this_thread::sleep(boost::posix_time::milliseconds(20));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(20));
   }
   
 

Modified: sandbox/chrono/libs/chrono/example/nested_stopclock_accumulator_example.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/example/nested_stopclock_accumulator_example.cpp (original)
+++ sandbox/chrono/libs/chrono/example/nested_stopclock_accumulator_example.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -9,7 +9,8 @@
 
 #include <boost/stopwatches.hpp>
 #include <cmath>
-#include <boost/thread.hpp>
+//#include <boost/thread.hpp>
+#include "sleep_for.hpp"
 
 using namespace boost::chrono;
 
@@ -39,14 +40,14 @@
     //~ stopclock_accumulator<>::scoped_run _(acc);
     BOOST_CHRONO_STOPCLOCK_ACCUMULATOR_FCT;
     //BOOST_CHRONO_STOPCLOCK_ACCUMULATOR_FCT_REVERSE;
- boost::this_thread::sleep(boost::posix_time::milliseconds(100));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(100));
     {
         BOOST_CHRONO_STOPCLOCK_ACCUMULATOR;
         //~ static stopclock_accumulator<> acc(
             //~ std::string(__FILE__) + "[" + BOOST_STRINGIZE(__LINE__) + "] " + stopwatch_accumulator_formatter::default_format()
         //~ );
         //~ stopclock_accumulator<>::scoped_run _(acc);
- boost::this_thread::sleep(boost::posix_time::milliseconds(200));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(200));
     }
 
 }
@@ -58,12 +59,12 @@
     //~ );
     //~ stopclock_accumulator<>::scoped_run _(acc);
 
- boost::this_thread::sleep(boost::posix_time::milliseconds(10));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(10));
     f1();
- boost::this_thread::sleep(boost::posix_time::milliseconds(100));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(100));
     f1();
- boost::this_thread::sleep(boost::posix_time::milliseconds(50));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(50));
     f1();
- boost::this_thread::sleep(boost::posix_time::milliseconds(200));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(200));
     return 0;
 }

Modified: sandbox/chrono/libs/chrono/example/scoped_stopwatch_example.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/example/scoped_stopwatch_example.cpp (original)
+++ sandbox/chrono/libs/chrono/example/scoped_stopwatch_example.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -9,7 +9,8 @@
 
 #include <boost/chrono/stopwatch.hpp>
 #include <cmath>
-#include <boost/thread.hpp>
+//#include <boost/thread.hpp>
+#include "sleep_for.hpp"
 
 using namespace boost::chrono;
 double res;
@@ -20,7 +21,7 @@
         res+=std::sqrt( res+123.456L+i ); // burn some time
     if (j!=0) f1(j-1);
     stopwatch<>::reporter::scoped_suspend s(_);
- boost::this_thread::sleep(boost::posix_time::milliseconds(10));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(10));
 
 }
 int main()

Added: sandbox/chrono/libs/chrono/example/sleep_for.hpp
==============================================================================
--- (empty file)
+++ sandbox/chrono/libs/chrono/example/sleep_for.hpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -0,0 +1,19 @@
+#ifndef BOOST_CHRONO_SLEEP_FOR__HPP
+#define BOOST_CHRONO_SLEEP_FOR__HPP
+
+#include <boost/chrono/chrono.hpp>
+
+namespace boost {
+namespace this_thread {
+
+
+template <class Rep, class Period>
+void sleep_for(const boost::chrono::duration<Rep, Period>& d)
+{
+ boost::chrono::high_resolution_clock::time_point go = boost::chrono::high_resolution_clock::now() + d;
+ while (boost::chrono::high_resolution_clock::now() < go);
+}
+}
+}
+
+#endif //BOOST_CHRONO_SLEEP_FOR__HPP

Modified: sandbox/chrono/libs/chrono/example/stopclock_accumulator_example.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/example/stopclock_accumulator_example.cpp (original)
+++ sandbox/chrono/libs/chrono/example/stopclock_accumulator_example.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -11,7 +11,8 @@
 //#include <boost/chrono/stopwatches.hpp>
 
 #include <cmath>
-#include <boost/thread.hpp>
+//#include <boost/thread.hpp>
+#include "sleep_for.hpp"
 
 using namespace boost::chrono;
 int f1(long j)
@@ -21,7 +22,7 @@
 
   for ( long i = 0; i < j; ++i )
     std::sqrt( 123.456L ); // burn some time
- boost::this_thread::sleep(boost::posix_time::milliseconds(20));
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(20));
   
 
   return 0;

Modified: sandbox/chrono/libs/chrono/example/suspendible_stopclock_example.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/example/suspendible_stopclock_example.cpp (original)
+++ sandbox/chrono/libs/chrono/example/suspendible_stopclock_example.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -17,23 +17,24 @@
 
 int f1(long j)
 {
- stopclock<suspendible_clock<process_cpu_clock> > a(9);
- //stopclock<> b(9);
+ stopclock<suspendible_clock<high_resolution_clock> > a(9);
+ //stopclock<high_resolution_clock> b(9);
 
     for ( long i = 0; i < j; ++i )
- res+=std::sqrt( 123.456L ); // burn some time
- //if (j!=0) f1(j-1);
+ res+=std::sqrt( res+123.456L+i ); // burn some time
+ if (j!=0) f1(j-1);
     //boost::this_thread::sleep(boost::posix_time::milliseconds(10));
-
     return 0;
 }
 int main()
 {
     //stopclock<> _(BOOST_CHRONO_TIME_FUNCTION_FORMAT);
- stopclock<> _(9);
+ //stopclock<> _(9);
+ stopclock<suspendible_clock<high_resolution_clock> > a(9);
+ //stopclock<high_resolution_clock> b(9);
 
     for (long i =1; i<= 3; ++i)
- f1(i*100000);
+ f1(i*100);
     std::cout<< res << std::endl;
     return 0;
 }

Modified: sandbox/chrono/libs/chrono/test/Jamfile.v2
==============================================================================
--- sandbox/chrono/libs/chrono/test/Jamfile.v2 (original)
+++ sandbox/chrono/libs/chrono/test/Jamfile.v2 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -18,9 +18,11 @@
 
 project
     : requirements
+ <os>LINUX:<threading>multi
         #<library>/boost/chrono//boost_chrono
         #<library>/boost/system//boost_system
         <library>../build//boost_chrono
+ #<library>/boost/thread//boost_thread/<link>shared
         # uncomment the line above if you build outside the Boost release
         #<include>$(BOOST_ROOT)
         # uncomment the line above if you build outside the Boost release
@@ -37,95 +39,96 @@
         :
         [ compile-fail ratio_fail_test1.cpp ]
         [ run ratio_test.cpp : : : <link>static ]
- #[ run ratio_test.cpp : : : <library>/boost/system//boost_system : ratio_test_dll ]
+ #[ run ratio_test.cpp : : : : ratio_test_dll ]
         ;
 
 
     test-suite "chrono"
         :
         [ run chrono_unit_test.cpp : : : <link>static ]
- [ run chrono_unit_test.cpp : : : <library>/boost/system//boost_system : chrono_unit_test_dll ]
+ [ run chrono_unit_test.cpp : : : : chrono_unit_test_dll ]
         [ run explore_limits.cpp : : : <link>static ]
- [ run explore_limits.cpp : : : <library>/boost/system//boost_system : explore_limits_dll ]
+ [ run explore_limits.cpp : : : : explore_limits_dll ]
         [ run test_duration.cpp : : : <link>static ]
- [ run test_duration.cpp : : : <library>/boost/system//boost_system : test_duration_dll ]
+ [ run test_duration.cpp : : : : test_duration_dll ]
         [ run test_system_clock.cpp : : : <link>static ]
- [ run test_system_clock.cpp : : : <library>/boost/system//boost_system : test_system_clock_dll ]
+ [ run test_system_clock.cpp : : : : test_system_clock_dll ]
         [ run miscellaneous.cpp : : : <link>static ]
- [ run miscellaneous.cpp : : : <library>/boost/system//boost_system : miscellaneous_dll ]
+ [ run miscellaneous.cpp : : : : miscellaneous_dll ]
         [ run test_special_values.cpp : : : <link>static ]
- [ run test_special_values.cpp : : : <library>/boost/system//boost_system : test_special_values_dll ]
+ [ run test_special_values.cpp : : : : test_special_values_dll ]
         [ run manipulate_clock_object.cpp : : : <link>static ]
- [ run manipulate_clock_object.cpp : : : <library>/boost/system//boost_system : manipulate_clock_object_dll ]
+ [ run manipulate_clock_object.cpp : : : : manipulate_clock_object_dll ]
         [ run chrono_accuracy_test.cpp : : : <link>static ]
- [ run chrono_accuracy_test.cpp : : : <library>/boost/system//boost_system : chrono_accuracy_test_dll ]
+ [ run chrono_accuracy_test.cpp : : : : chrono_accuracy_test_dll ]
         
         [ run ../example/cycle_count.cpp : : : <link>static ]
- [ run ../example/cycle_count.cpp : : : <library>/boost/system//boost_system : cycle_count_dll ]
+ [ run ../example/cycle_count.cpp : : : : cycle_count_dll ]
         [ run ../example/runtime_resolution.cpp : : : <link>static ]
- [ run ../example/runtime_resolution.cpp : : : <library>/boost/system//boost_system : runtime_resolution_dll ]
+ [ run ../example/runtime_resolution.cpp : : : : runtime_resolution_dll ]
         [ run ../example/xtime.cpp : : : <link>static ]
- [ run ../example/xtime.cpp : : : <library>/boost/system//boost_system : xtime_dll ]
+ [ run ../example/xtime.cpp : : : : xtime_dll ]
         [ run ../example/saturating.cpp : : : <link>static ]
- [ run ../example/saturating.cpp : : : <library>/boost/system//boost_system : saturating_dll ]
+ [ run ../example/saturating.cpp : : : : saturating_dll ]
         [ run ../example/min_time_point.cpp : : : <link>static ]
- [ run ../example/min_time_point.cpp : : : <library>/boost/system//boost_system : min_time_point_dll ]
+ [ run ../example/min_time_point.cpp : : : : min_time_point_dll ]
         [ run ../example/i_dont_like_the_default_duration_behavior.cpp : : : <link>static ]
- [ run ../example/i_dont_like_the_default_duration_behavior.cpp : : : <library>/boost/system//boost_system : i_dont_like_the_default_duration_behavior_dll ]
+ [ run ../example/i_dont_like_the_default_duration_behavior.cpp : : : : i_dont_like_the_default_duration_behavior_dll ]
         [ run ../example/simulated_thread_interface_demo.cpp : : : <link>static ]
- [ run ../example/simulated_thread_interface_demo.cpp : : : <library>/boost/system//boost_system : simulated_thread_interface_demo_dll ]
+ [ run ../example/simulated_thread_interface_demo.cpp : : : : simulated_thread_interface_demo_dll ]
         [ run ../example/timeval_demo.cpp : : : <link>static ]
- [ run ../example/timeval_demo.cpp : : : <library>/boost/system//boost_system : timeval_demo_dll ]
+ [ run ../example/timeval_demo.cpp : : : : timeval_demo_dll ]
         ;
 
     test-suite "timer"
         :
         [ run ../example/run_timer_example.cpp : : : <link>static ]
- [ run ../example/run_timer_example.cpp : : : <library>/boost/system//boost_system : run_timer_example_dll ]
+ [ run ../example/run_timer_example.cpp : : : : run_timer_example_dll ]
         [ run ../example/run_timer_example2.cpp : : : <link>static ]
- [ run ../example/run_timer_example2.cpp : : : <library>/boost/system//boost_system : run_timer_example2_dll ]
+ [ run ../example/run_timer_example2.cpp : : : : run_timer_example2_dll ]
         [ run run_timer_test.cpp : : : <link>static ]
- [ run run_timer_test.cpp : : : <library>/boost/system//boost_system : run_timer_test_dll ]
+ [ run run_timer_test.cpp : : : : run_timer_test_dll ]
         ;
 
- # test-suite "other_clocks"
- # :
- # [ run test_suspendible_clock.cpp : : : <library>/boost/thread//boost_thread <link>static ]
- # [ run test_suspendible_clock.cpp : : : <library>/boost/thread//boost_thread <library>/boost/system//boost_system : test_suspendible_clock_dll ]
- # [ run ../example/suspendible_stopclock_example.cpp : : : <library>/boost/thread//boost_thread <link>static ]
- # [ run ../example/suspendible_stopclock_example.cpp : : : <library>/boost/thread//boost_thread <library>/boost/system//boost_system : suspendible_stopclock_example_dll ]
- # [ run test_thread_clock.cpp : : : <link>static ]
- # ;
+ #test-suite "other_clocks"
+ # :
+ # [ run test_suspendible_clock.cpp : : : <library>/boost/thread//boost_thread <link>static ]
+ # [ run test_suspendible_clock.cpp : : : <library>/boost/thread//boost_thread : test_suspendible_clock_dll ]
+ # [ run ../example/suspendible_stopclock_example.cpp : : : <library>/boost/thread//boost_thread <link>static ]
+ # [ run ../example/suspendible_stopclock_example.cpp : : : <library>/boost/thread//boost_thread : suspendible_stopclock_example_dll ]
+ # [ run test_thread_clock.cpp : : : <link>static ]
+ # [ run test_thread_clock.cpp : : : : test_thread_clock_dll ]
+ # ;
 
     test-suite "stopwatch"
         :
         [ run ../example/stopwatch_example.cpp : : : <link>static ]
- [ run ../example/stopwatch_example.cpp : : : <library>/boost/system//boost_system : stopwatch_example_dll ]
- [ run ../example/scoped_stopwatch_example.cpp : : : <library>/boost/thread//boost_thread <link>static ]
- [ run ../example/scoped_stopwatch_example.cpp : : : <library>/boost/thread//boost_thread <library>/boost/system//boost_system : scoped_stopwatch_example_dll ]
+ [ run ../example/stopwatch_example.cpp : : : : stopwatch_example_dll ]
+ [ run ../example/scoped_stopwatch_example.cpp : : : <link>static ]
+ [ run ../example/scoped_stopwatch_example.cpp : : : : scoped_stopwatch_example_dll ]
         [ run ../example/stopwatch_accumulator_example.cpp : : : <link>static ]
- [ run ../example/stopwatch_accumulator_example.cpp : : : <library>/boost/system//boost_system : stopwatch_accumulator_example_dll ]
- [ run ../example/nested_stopclock_accumulator_example.cpp : : : <library>/boost/thread//boost_thread <link>static ]
- [ run ../example/nested_stopclock_accumulator_example.cpp : : : <library>/boost/thread//boost_thread <library>/boost/system//boost_system : nested_stopclock_accumulator_example_dll ]
+ [ run ../example/stopwatch_accumulator_example.cpp : : : : stopwatch_accumulator_example_dll ]
+ [ run ../example/nested_stopclock_accumulator_example.cpp : : : <link>static ]
+ [ run ../example/nested_stopclock_accumulator_example.cpp : : : : nested_stopclock_accumulator_example_dll ]
         [ run ../example/specific_stopwatch_accumulator_example.cpp : : : <link>static ]
- [ run ../example/specific_stopwatch_accumulator_example.cpp : : : <library>/boost/system//boost_system : specific_stopwatch_accumulator_example_dll ]
+ [ run ../example/specific_stopwatch_accumulator_example.cpp : : : : specific_stopwatch_accumulator_example_dll ]
         [ run ../example/stopclock_example.cpp : : : <link>static ]
- [ run ../example/stopclock_example.cpp : : : <library>/boost/system//boost_system : stopclock_example_dll ]
- [ run ../example/stopclock_accumulator_example.cpp : : : <library>/boost/thread//boost_thread <link>static ]
- [ run ../example/stopclock_accumulator_example.cpp : : : <library>/boost/thread//boost_thread <library>/boost/system//boost_system : stopclock_accumulator_example_dll ]
- [ run ../example/loop_stopclock_accumulator_example.cpp : : : <library>/boost/thread//boost_thread <link>static ]
- [ run ../example/loop_stopclock_accumulator_example.cpp : : : <library>/boost/thread//boost_thread <library>/boost/system//boost_system : loop_stopclock_accumulator_example_dll ]
+ [ run ../example/stopclock_example.cpp : : : : stopclock_example_dll ]
+ [ run ../example/stopclock_accumulator_example.cpp : : : <link>static ]
+ [ run ../example/stopclock_accumulator_example.cpp : : : : stopclock_accumulator_example_dll ]
+ [ run ../example/loop_stopclock_accumulator_example.cpp : : : <link>static ]
+ [ run ../example/loop_stopclock_accumulator_example.cpp : : : : loop_stopclock_accumulator_example_dll ]
         [ run ../example/digital_time_example.cpp : : : <link>static ]
- [ run ../example/digital_time_example.cpp : : : <library>/boost/system//boost_system : digital_time_example_dll ]
+ [ run ../example/digital_time_example.cpp : : : : digital_time_example_dll ]
         [ run ../example/scoped_stopclock_example.cpp : : : <link>static ]
- [ run ../example/scoped_stopclock_example.cpp : : : <library>/boost/system//boost_system : function_stopclock_example_dll ]
+ [ run ../example/scoped_stopclock_example.cpp : : : : function_stopclock_example_dll ]
         [ link ../example/timex.cpp : <link>static ]
- [ link ../example/timex.cpp : <library>/boost/system//boost_system : timex_dll ]
+ [ link ../example/timex.cpp : : timex_dll ]
         [ compile test_minmax.cpp ]
         [ run stopclock_constructor_overload_test.cpp : : : <link>static ]
- [ run stopclock_constructor_overload_test.cpp : : : <library>/boost/system//boost_system : stopclock_constructor_overload_test_dll ]
+ [ run stopclock_constructor_overload_test.cpp : : : : stopclock_constructor_overload_test_dll ]
         [ run wstopclock_constructor_overload_test.cpp : : : <link>static ]
- [ run wstopclock_constructor_overload_test.cpp : : : <library>/boost/system//boost_system : wstopclock_constructor_overload_test_dll ]
+ [ run wstopclock_constructor_overload_test.cpp : : : : wstopclock_constructor_overload_test_dll ]
         ;
         
-
\ No newline at end of file
+

Modified: sandbox/chrono/libs/chrono/test/test_suspendible_clock.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/test_suspendible_clock.cpp (original)
+++ sandbox/chrono/libs/chrono/test/test_suspendible_clock.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -19,14 +19,24 @@
     std::cout << "suspendible_clock<system_clock> test" << std::endl;
     suspendible_clock<system_clock>::duration delay = milliseconds(5);
     suspendible_clock<system_clock>::time_point start = suspendible_clock<system_clock>::now();
- while (suspendible_clock<system_clock>::now() - start <= delay)
- ;
+ //std::cout << "start: " << start.time_since_epoch().count() << " nanoseconds\n";
+ //std::cout << "start: " << nanoseconds(start.time_since_epoch()).count() << " nanoseconds\n";
+ //std::cout << "Clock::now: " << nanoseconds(system_clock::now().time_since_epoch()).count() << " nanoseconds\n";
+ //std::cout << "now: " << nanoseconds(suspendible_clock<system_clock>::now().time_since_epoch()).count() << " nanoseconds\n";
+ while (suspendible_clock<system_clock>::now() - start <= delay) {
+ //std::cout << "delta: " << (suspendible_clock<system_clock>::now() - start).count() << " nanoseconds\n";
+ //std::cout << "Clock::now: " << nanoseconds(system_clock::now().time_since_epoch()).count() << " nanoseconds\n";
+ //std::cout << "now: " << nanoseconds(suspendible_clock<system_clock>::now().time_since_epoch()).count() << " nanoseconds\n";
+
+ }
+
     suspendible_clock<system_clock>::time_point stop = suspendible_clock<system_clock>::now();
     suspendible_clock<system_clock>::duration elapsed = stop - start;
     std::cout << "paused " << nanoseconds(elapsed).count() << " nanoseconds\n";
     start = suspendible_clock<system_clock>::now();
     stop = suspendible_clock<system_clock>::now();
     std::cout << "suspendible_clock<system_clock> resolution estimate: " << nanoseconds(stop-start).count() << " nanoseconds\n";
+
     start = suspendible_clock<system_clock>::now();
     suspendible_clock<system_clock>::suspend();
     system_clock::duration delay3 = milliseconds(50);

Modified: sandbox/chrono/libs/chrono/test/test_thread_clock.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/test_thread_clock.cpp (original)
+++ sandbox/chrono/libs/chrono/test/test_thread_clock.cpp 2010-01-25 17:52:18 EST (Mon, 25 Jan 2010)
@@ -15,6 +15,7 @@
 
 void test_thread_clock()
 {
+#if defined(BOOST_CHRONO_HAS_THREAD_CLOCK)
     std::cout << "thread_clock test" << std::endl;
     thread_clock::duration delay = milliseconds(5);
     thread_clock::time_point start = thread_clock::now();
@@ -26,6 +27,9 @@
     start = thread_clock::now();
     stop = thread_clock::now();
     std::cout << "thread_clock resolution estimate: " << nanoseconds(stop-start).count() << " nanoseconds\n";
+#else
+ std::cout << "thread_clock not available\n";
+#endif
 }
 
 


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