$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r68791 - in sandbox/chrono/boost/stopwatches: . detail
From: vicente.botet_at_[hidden]
Date: 2011-02-11 17:14:38
Author: viboes
Date: 2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
New Revision: 68791
URL: http://svn.boost.org/trac/boost/changeset/68791
Log:
Stopwatches: rename scoped_suspend to clock suspender + cleaup
Added:
   sandbox/chrono/boost/stopwatches/clock_suspender.hpp   (contents, props changed)
Removed:
   sandbox/chrono/boost/stopwatches/scoped_suspend.hpp
   sandbox/chrono/boost/stopwatches/scoped_suspend2.hpp
Text files modified: 
   sandbox/chrono/boost/stopwatches/config.hpp                               |     8 ++------                                
   sandbox/chrono/boost/stopwatches/detail/adaptive_string.hpp               |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/detail/default_out.hpp                   |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/detail/static_assert.hpp                 |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/lightweight_stopwatch.hpp                |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/scoped_stopclock.hpp                     |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopclock.hpp                            |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopclock_accumulator.hpp                |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatch.hpp                            |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatch_accumulator.hpp                |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatch_accumulator_formatter.hpp      |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatch_accumulator_time_formatter.hpp |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatch_formatter.hpp                  |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatch_reporter.hpp                   |    11 ++++-------                             
   sandbox/chrono/boost/stopwatches/stopwatch_scoped.hpp                     |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/stopwatches.hpp                          |     4 ++--                                    
   sandbox/chrono/boost/stopwatches/suspendible_clock.hpp                    |    35 ++++++++++++++++-------------------     
   sandbox/chrono/boost/stopwatches/t24_hours.hpp                            |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/t24_hours_formatter.hpp                  |     7 ++-----                                 
   sandbox/chrono/boost/stopwatches/time_formatter.hpp                       |     7 ++-----                                 
   20 files changed, 56 insertions(+), 114 deletions(-)
Added: sandbox/chrono/boost/stopwatches/clock_suspender.hpp
==============================================================================
--- (empty file)
+++ sandbox/chrono/boost/stopwatches/clock_suspender.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -0,0 +1,37 @@
+//  boost/chrono/clock_suspender.hpp  -----------------------------------------------------------//
+//  Copyright 2009-2011 Vicente J. Botet Escriba
+//  Distributed under the Boost Software License, Version 1.0.
+//  See http://www.boost.org/LICENSE_1_0.txt
+//  See http://www.boost.org/libs/stopwatches for documentation.
+
+#ifndef BOOST_STOPWATCHES_CLOCK_SUSPENDER_CLOCK_HPP
+#define BOOST_STOPWATCHES_CLOCK_SUSPENDER_CLOCK_HPP
+
+#include <boost/system/error_code.hpp>
+#include <boost/mpl/bool.hpp>
+
+namespace boost { namespace stopwatches {
+
+
+    template <class Clock>
+    struct is_suspendible : mpl:: false_ {};
+
+    template <class Clock>
+    class clock_suspender {
+    public:
+        clock_suspender(system::error_code & ec = BOOST_CHRONO_THROWS) {
+            ec.clear();
+        }
+        ~clock_suspender() {}
+    private:
+        //~ clock_suspender(); // = delete;
+        clock_suspender(const clock_suspender&); // = delete;
+        clock_suspender& operator=(const clock_suspender&); // = delete;
+    };
+
+
+} // namespace stopwatches
+} // namespace boost
+
+
+#endif  // BOOST_CHRONO_PROCESS_CPU_CLOCKS_HPP
Modified: sandbox/chrono/boost/stopwatches/config.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/config.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/config.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,18 +1,14 @@
 //  boost/chrono/config.hpp  -------------------------------------------------//
-
 //  Copyright Beman Dawes 2003, 2006, 2008
-//  Copyright 2009 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/chrono for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_CONFIG_HPP
 #define BOOST_STOPWATCHES_CONFIG_HPP
 
 #include <boost/config.hpp>
 
-
 #endif // BOOST_STOPWATCHES_CONFIG_HPP
 
Modified: sandbox/chrono/boost/stopwatches/detail/adaptive_string.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/detail/adaptive_string.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/detail/adaptive_string.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/chrono/stopwatch_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_DETAIL_ADAPTIVE_STRING_HPP
 #define BOOST_STOPWATCHES_DETAIL_ADAPTIVE_STRING_HPP
Modified: sandbox/chrono/boost/stopwatches/detail/default_out.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/detail/default_out.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/detail/default_out.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/chrono/stopwatch_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_DETAIL_DEFAULT_OUT_HPP
 #define BOOST_STOPWATCHES_DETAIL_DEFAULT_OUT_HPP
Modified: sandbox/chrono/boost/stopwatches/detail/static_assert.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/detail/static_assert.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/detail/static_assert.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
-//  static_assert.hpp  --------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  boost/stopwatches/detail/static_assert.hpp  --------------------------------------------------------------//
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0.
 //  See http://www.boost.org/LICENSE_1_0.txt
 
-
 #ifndef BOOST_STOPWATCHES_DETAIL_STATIC_ASSERT_HPP
 #define BOOST_STOPWATCHES_DETAIL_STATIC_ASSERT_HPP
 
Modified: sandbox/chrono/boost/stopwatches/lightweight_stopwatch.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/lightweight_stopwatch.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/lightweight_stopwatch.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/lightweight_stopwatch.hpp  ------------------------------------------------------------//
-
-//  Copyright 2010 Vicente J. Botet Escriba
-
+//  Copyright 2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_LIGHTWEIGHT_STOPWATCH__HPP
 #define BOOST_STOPWATCHES_LIGHTWEIGHT_STOPWATCH__HPP
Modified: sandbox/chrono/boost/stopwatches/scoped_stopclock.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/scoped_stopclock.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/scoped_stopclock.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopclock.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_SCOPED_STOPCLOCK_HPP
 #define BOOST_STOPWATCHES_SCOPED_STOPCLOCK_HPP
Deleted: sandbox/chrono/boost/stopwatches/scoped_suspend.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/scoped_suspend.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
+++ (empty file)
@@ -1,40 +0,0 @@
-//  boost/chrono/process_cpu_clocks.hpp  -----------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
-//  Distributed under the Boost Software License, Version 1.0.
-//  See http://www.boost.org/LICENSE_1_0.txt
-
-//  See http://www.boost.org/libs/system for documentation.
-
-#ifndef BOOST_STOPWATCHES_SCOPED_SUSPEND_CLOCK_HPP
-#define BOOST_STOPWATCHES_SCOPED_SUSPEND_CLOCK_HPP
-
-#include <boost/system/error_code.hpp>
-#include <boost/mpl/bool.hpp>
-
-namespace boost { namespace stopwatches {
-
-
-    template <class Clock>
-    struct is_suspendible : mpl:: false_ {};
-
-    template <class Clock>
-    class scoped_suspend {
-    public:
-        scoped_suspend(system::error_code & ec = BOOST_CHRONO_THROWS) {
-            ec.clear();
-        }
-        ~scoped_suspend() {}
-    private:
-        //~ scoped_suspend(); // = delete;
-        scoped_suspend(const scoped_suspend&); // = delete;
-        scoped_suspend& operator=(const scoped_suspend&); // = delete;
-    };
-
-
-} // namespace stopwatches
-} // namespace boost
-
-
-#endif  // BOOST_CHRONO_PROCESS_CPU_CLOCKS_HPP
Deleted: sandbox/chrono/boost/stopwatches/scoped_suspend2.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/scoped_suspend2.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
+++ (empty file)
@@ -1,40 +0,0 @@
-//  boost/stopwatches/process_cpu_clocks.hpp  -----------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
-//  Distributed under the Boost Software License, Version 1.0.
-//  See http://www.boost.org/LICENSE_1_0.txt
-
-//  See http://www.boost.org/libs/system for documentation.
-
-#ifndef BOOST_STOPWATCHES_SCOPED_SUSPEND_CLOCK_HPP
-#define BOOST_STOPWATCHES_SCOPED_SUSPEND_CLOCK_HPP
-
-#include <boost/system/error_code.hpp>
-#include <boost/mpl/bool.hpp>
-
-namespace boost { namespace stopwatches {
-
-
-    template <class Clock>
-    struct is_suspendible : mpl:: false_ {};
-
-    template <class Clock>
-    class scoped_suspend {
-    public:
-        scoped_suspend(system::error_code & ec = BOOST_CHRONO_THROWS) {
-            ec.clear();
-        }
-        ~scoped_suspend() {}
-    private:
-        //~ scoped_suspend(); // = delete;
-        scoped_suspend(const scoped_suspend&); // = delete;
-        scoped_suspend& operator=(const scoped_suspend&); // = delete;
-    };
-
-
-} // namespace stopwatches
-} // namespace boost
-
-
-#endif  // BOOST_STOPWATCHES_PROCESS_CPU_CLOCKS_HPP
Modified: sandbox/chrono/boost/stopwatches/stopclock.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopclock.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopclock.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopclock.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPCLOCK_HPP
 #define BOOST_STOPWATCHES_STOPCLOCK_HPP
Modified: sandbox/chrono/boost/stopwatches/stopclock_accumulator.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopclock_accumulator.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopclock_accumulator.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopclock.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPCLOCK_ACCUMULATOR_HPP
 #define BOOST_STOPWATCHES_STOPCLOCK_ACCUMULATOR_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatch.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatch_accumulator.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch_accumulator.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch_accumulator.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch_accumulator.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_ACCUMULATOR_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_ACCUMULATOR_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatch_accumulator_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch_accumulator_formatter.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch_accumulator_formatter.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch_accumulator_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_ACCUMULATOR_FORMATTER_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_ACCUMULATOR_FORMATTER_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatch_accumulator_time_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch_accumulator_time_formatter.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch_accumulator_time_formatter.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch_accumulator_time_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_ACCUMULATOR_TIMES_FORMATTER_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_ACCUMULATOR_TIMES_FORMATTER_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatch_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch_formatter.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch_formatter.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_FORMATTER_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_FORMATTER_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatch_reporter.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch_reporter.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch_reporter.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch_reporter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_REPORTER_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_REPORTER_HPP
@@ -23,7 +20,7 @@
 #include <boost/chrono/chrono.hpp>
 #include <boost/stopwatches/stopwatch_scoped.hpp>
 #include <boost/system/error_code.hpp>
-#include <boost/stopwatches/scoped_suspend.hpp>
+#include <boost/stopwatches/clock_suspender.hpp>
 #include <boost/cstdint.hpp>
 #include <string>
 #include <iostream>
@@ -177,7 +174,7 @@
 
     template <class Stopwatch, class Formatter>
     void basic_stopwatch_reporter<Stopwatch, Formatter>::report( system::error_code & ec ) {
-        stopwatches::scoped_suspend<typename Stopwatch::clock> _(ec);
+        stopwatches::clock_suspender<typename Stopwatch::clock> _(ec);
         if (!BOOST_CHRONO_IS_THROWS(ec)) {
             if (ec) return;
         }
Modified: sandbox/chrono/boost/stopwatches/stopwatch_scoped.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatch_scoped.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatch_scoped.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/stopwatch_scoped.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_STOPWATCH_SCOPED_HPP
 #define BOOST_STOPWATCHES_STOPWATCH_SCOPED_HPP
Modified: sandbox/chrono/boost/stopwatches/stopwatches.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/stopwatches.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/stopwatches.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,12 +1,12 @@
 //////////////////////////////////////////////////////////////////////////////
 //
-// (C) Copyright Vicente J. Botet Escriba 2010.
+// (C) Copyright Vicente J. Botet Escriba 2011.
 // Distributed under the Boost
 // Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt or
 // copy at http://www.boost.org/LICENSE_1_0.txt)
 //
-// See http://www.boost.org/libs/stm for documentation.
+// See http://www.boost.org/libs/stopwatches for documentation.
 //
 //////////////////////////////////////////////////////////////////////////////
 
Modified: sandbox/chrono/boost/stopwatches/suspendible_clock.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/suspendible_clock.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/suspendible_clock.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,18 +1,15 @@
-//  boost/chrono/process_cpu_clocks.hpp  -----------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  boost/chrono/suspendible_clock.hpp  -----------------------------------------------------------//
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0.
 //  See http://www.boost.org/LICENSE_1_0.txt
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_SUSPENDIBLE_CLOCK_HPP
 #define BOOST_STOPWATCHES_SUSPENDIBLE_CLOCK_HPP
 
 #include <boost/version.hpp>
 #include <boost/chrono/chrono.hpp>
-#include <boost/stopwatches/scoped_suspend.hpp>
+#include <boost/stopwatches/clock_suspender.hpp>
 #include <boost/system/error_code.hpp>
 #include <boost/thread/tss.hpp>
 #include <memory>
@@ -155,14 +152,14 @@
             }
             else return duration::zero();
         }
-        class scoped_suspend {
+        class clock_suspender {
         public:
-            scoped_suspend(system::error_code & ec = BOOST_CHRONO_THROWS)
+            clock_suspender(system::error_code & ec = BOOST_CHRONO_THROWS)
                 : ptr_(instance(ec))
             {
                 if (ptr_!=0) ptr_->suspend(ec);
             }
-            ~scoped_suspend() {
+            ~clock_suspender() {
                 if (ptr_!=0) {
                     system::error_code ec;
                     ptr_->resume(ec);
@@ -171,9 +168,9 @@
             }
         private:
             thread_specific_context* ptr_;
-            //~ scoped_suspend(); // = delete;
-            scoped_suspend(const scoped_suspend&); // = delete;
-            scoped_suspend& operator=(const scoped_suspend&); // = delete;
+            //~ clock_suspender(); // = delete;
+            clock_suspender(const clock_suspender&); // = delete;
+            clock_suspender& operator=(const clock_suspender&); // = delete;
         };
 
     };
@@ -185,14 +182,14 @@
     struct is_suspendible<suspendible_clock<Clock> > : mpl:: true_ {};
 
     template <class Clock>
-    class scoped_suspend<suspendible_clock<Clock> >
-        : public suspendible_clock<Clock>::scoped_suspend {
+    class clock_suspender<suspendible_clock<Clock> >
+        : public suspendible_clock<Clock>::clock_suspender {
     public:
-        scoped_suspend(system::error_code & ec = BOOST_CHRONO_THROWS) : suspendible_clock<Clock>::scoped_suspend(ec) {}
+        clock_suspender(system::error_code & ec = BOOST_CHRONO_THROWS) : suspendible_clock<Clock>::clock_suspender(ec) {}
     private:
-        //~ scoped_suspend(); // = delete;
-        scoped_suspend(const scoped_suspend&); // = delete;
-        scoped_suspend& operator=(const scoped_suspend&); // = delete;
+        //~ clock_suspender(); // = delete;
+        clock_suspender(const clock_suspender&); // = delete;
+        clock_suspender& operator=(const clock_suspender&); // = delete;
     };
 
 } // namespace stopwatches
Modified: sandbox/chrono/boost/stopwatches/t24_hours.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/t24_hours.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/t24_hours.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/t24_hours.hpp  -----------------------------------------------------------//
-
-//  Copyright 2010 Vicente J. Botet Escriba
-
+//  Copyright 2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0.
 //  See http://www.boost.org/LICENSE_1_0.txt
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_T24_HOURS_HPP
 #define BOOST_STOPWATCHES_T24_HOURS_HPP
Modified: sandbox/chrono/boost/stopwatches/t24_hours_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/t24_hours_formatter.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/t24_hours_formatter.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/stopwatches/t24_hours_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2010 Vicente J. Botet Escriba
-
+//  Copyright 2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_T24_HOURS_FORMATTER_HPP
 #define BOOST_STOPWATCHES_T24_HOURS_FORMATTER_HPP
Modified: sandbox/chrono/boost/stopwatches/time_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/stopwatches/time_formatter.hpp	(original)
+++ sandbox/chrono/boost/stopwatches/time_formatter.hpp	2011-02-11 17:14:35 EST (Fri, 11 Feb 2011)
@@ -1,11 +1,8 @@
 //  boost/chrono/time_formatter.hpp  ------------------------------------------------------------//
-
-//  Copyright 2009-2010 Vicente J. Botet Escriba
-
+//  Copyright 2009-2011 Vicente J. Botet Escriba
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//  See http://www.boost.org/libs/system for documentation.
+//  See http://www.boost.org/libs/stopwatches for documentation.
 
 #ifndef BOOST_STOPWATCHES_TIME_FORMATTER_HPP
 #define BOOST_STOPWATCHES_TIME_FORMATTER_HPP