Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67301 - in sandbox/chrono/boost/chrono: . detail/inlined/mac detail/inlined/posix
From: vicente.botet_at_[hidden]
Date: 2010-12-18 11:14:50


Author: viboes
Date: 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
New Revision: 67301
URL: http://svn.boost.org/trac/boost/changeset/67301

Log:
Chrono: inspection cleanup

Text files modified:
   sandbox/chrono/boost/chrono/chrono.hpp | 2
   sandbox/chrono/boost/chrono/chrono_io.hpp | 42 ++++++++++++++++++++--------------------
   sandbox/chrono/boost/chrono/detail/inlined/mac/chrono.hpp | 8 +++---
   sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp | 2
   sandbox/chrono/boost/chrono/detail/inlined/posix/thread_clock.hpp | 8 +++---
   sandbox/chrono/boost/chrono/duration.hpp | 2
   sandbox/chrono/boost/chrono/process_cpu_clocks.hpp | 4 +-
   sandbox/chrono/boost/chrono/system_clocks.hpp | 2
   sandbox/chrono/boost/chrono/time_point.hpp | 2
   9 files changed, 36 insertions(+), 36 deletions(-)

Modified: sandbox/chrono/boost/chrono/chrono.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/chrono.hpp (original)
+++ sandbox/chrono/boost/chrono/chrono.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -22,7 +22,7 @@
                    Peter Dimov,
                    Jeff Garland,
                    Terry Golubiewski,
- Daniel Krügler,
+ Daniel Krugler,
                    Anthony Williams.
 */
 

Modified: sandbox/chrono/boost/chrono/chrono_io.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/chrono_io.hpp (original)
+++ sandbox/chrono/boost/chrono/chrono_io.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -482,16 +482,16 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'s', 'y', 's', 't', 'e', 'm', '_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         static const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'J', 'a',
                               'n', ' ', '1', ',', ' ', '1', '9', '7', '0'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 #ifdef BOOST_CHRONO_HAS_CLOCK_MONOTONIC
@@ -502,15 +502,15 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'m', 'o', 'n', 'o', 't', 'o', 'n', 'i', 'c', '_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'b', 'o', 'o', 't'};
         const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 
@@ -525,15 +525,15 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'t', 'h', 'r', 'e', 'd', '_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 't', 'r', 'e', 'a', 'd', ' ', 's', 't', 'a', 'r', 't', '-', 'u', 'p'};
         const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 
@@ -545,15 +545,15 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 'r', 'e', 'a', 'l','_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'p', 'r', 'o', 'c', 'e', 's', 's', ' ', 's', 't', 'a', 'r', 't', '-', 'u', 'p'};
         const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 
@@ -563,15 +563,15 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 'u', 's', 'e', 'r','_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'p', 'r', 'o', 'c', 'e', 's', 's', ' ', 's', 't', 'a', 'r', 't', '-', 'u', 'p'};
         const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 
@@ -581,15 +581,15 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 's', 'y', 's', 't', 't', 'e', 'm', '_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'p', 'r', 'o', 'c', 'e', 's', 's', ' ', 's', 't', 'a', 'r', 't', '-', 'u', 'p'};
         const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 
@@ -599,15 +599,15 @@
     static std::basic_string<CharT> name()
     {
         static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_',
- 'c', 'l','o', 'c', 'k'};
+ 'c', 'l','o', 'c', 'k'};
         static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
     static std::basic_string<CharT> since()
     {
         const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'p', 'r', 'o', 'c', 'e', 's', 's', ' ', 's', 't', 'a', 'r', 't', '-', 'u', 'p'};
         const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
- return str;
+ return str;
     }
 };
 

Modified: sandbox/chrono/boost/chrono/detail/inlined/mac/chrono.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/mac/chrono.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/mac/chrono.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -100,7 +100,7 @@
     mach_timebase_info_data_t MachInfo;
     err = mach_timebase_info(&MachInfo);
     if( err != 0 ) {
- return 0;
+ return 0;
     }
     return static_cast<double>(MachInfo.numer) / MachInfo.denom;
 }
@@ -155,7 +155,7 @@
     mach_timebase_info_data_t MachInfo;
     err = mach_timebase_info(&MachInfo);
     if( err != 0 ) {
- return 0;
+ return 0;
     }
 
     if (MachInfo.numer == MachInfo.denom)
@@ -170,7 +170,7 @@
     mach_timebase_info_data_t MachInfo;
     err = mach_timebase_info(&MachInfo);
     if( err != 0 ) {
- return 0;
+ return 0;
     }
 
     if (MachInfo.numer == MachInfo.denom)
@@ -183,7 +183,7 @@
 {
     static kern_return_t err;
     static chrono_detail::FP_ec fp = chrono_detail::init_monotonic_clock(err);
- if( err != 0 ) {
+ if( err != 0 ) {
         boost::throw_exception(
                 system::system_error(
                         err,

Modified: sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -40,7 +40,7 @@
   }
 }
 
- void process_clock::now( process_times & times_, system::error_code & ec ) {
+ void process_clock::now( process_times & times_, system::error_code & ec ) {
 
         tms tm;
         clock_t c = ::times( &tm );

Modified: sandbox/chrono/boost/chrono/detail/inlined/posix/thread_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/posix/thread_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/posix/thread_clock.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -19,8 +19,8 @@
 
 namespace boost { namespace chrono {
 
- thread_clock::time_point thread_clock::now( )
- {
+ thread_clock::time_point thread_clock::now( )
+ {
         // get the current thread
         pthread_t pth=pthread_self();
         // get the clock_id associated to the current thread
@@ -42,8 +42,8 @@
             static_cast<thread_clock::rep>( ts.tv_sec ) * 1000000000 + ts.tv_nsec));
 
     }
- thread_clock::time_point thread_clock::now( system::error_code & ec )
- {
+ thread_clock::time_point thread_clock::now( system::error_code & ec )
+ {
         // get the current thread
         pthread_t pth=pthread_self();
         // get the clock_id associated to the current thread

Modified: sandbox/chrono/boost/chrono/duration.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/duration.hpp (original)
+++ sandbox/chrono/boost/chrono/duration.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -22,7 +22,7 @@
                    Peter Dimov,
                    Jeff Garland,
                    Terry Golubiewski,
- Daniel Krügler,
+ Daniel Krugler,
                    Anthony Williams.
 */
 

Modified: sandbox/chrono/boost/chrono/process_cpu_clocks.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/process_cpu_clocks.hpp (original)
+++ sandbox/chrono/boost/chrono/process_cpu_clocks.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -157,8 +157,8 @@
                 in_iterator e;
                 if (i == e || *i != '{') // mandatory '{'
                 {
- is.setstate(is.failbit | is.eofbit);
- return;
+ is.setstate(is.failbit | is.eofbit);
+ return;
                 }
                 CharT x,y,z;
                 is >> real >> x >> user >> y >> system >> z;

Modified: sandbox/chrono/boost/chrono/system_clocks.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/system_clocks.hpp (original)
+++ sandbox/chrono/boost/chrono/system_clocks.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -22,7 +22,7 @@
                    Peter Dimov,
                    Jeff Garland,
                    Terry Golubiewski,
- Daniel Krügler,
+ Daniel Krugler,
                    Anthony Williams.
 */
 

Modified: sandbox/chrono/boost/chrono/time_point.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/time_point.hpp (original)
+++ sandbox/chrono/boost/chrono/time_point.hpp 2010-12-18 11:14:47 EST (Sat, 18 Dec 2010)
@@ -22,7 +22,7 @@
                    Peter Dimov,
                    Jeff Garland,
                    Terry Golubiewski,
- Daniel Krügler,
+ Daniel Krugler,
                    Anthony Williams.
 */
 


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