|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66060 - in sandbox/chrono/boost/chrono: . detail detail/inlined detail/inlined/mac detail/inlined/posix
From: vicente.botet_at_[hidden]
Date: 2010-10-17 18:28:33
Author: viboes
Date: 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
New Revision: 66060
URL: http://svn.boost.org/trac/boost/changeset/66060
Log:
Chrono: Cleanup
Text files modified:
sandbox/chrono/boost/chrono/chrono_io.hpp | 44 ++++++++++++++++++++--------------------
sandbox/chrono/boost/chrono/config.hpp | 2
sandbox/chrono/boost/chrono/detail/inlined/mac/chrono.hpp | 12 +++++-----
sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp | 6 ++--
sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp | 4 +-
sandbox/chrono/boost/chrono/detail/inlined/posix/thread_clock.hpp | 8 +++---
sandbox/chrono/boost/chrono/detail/inlined/process_clock.hpp | 2
sandbox/chrono/boost/chrono/detail/inlined/process_cpu_clocks.hpp | 6 ++--
sandbox/chrono/boost/chrono/detail/inlined/run_timer.hpp | 6 ++--
sandbox/chrono/boost/chrono/detail/scan_keyword.hpp | 4 +-
sandbox/chrono/boost/chrono/detail/system.hpp | 8 +++---
sandbox/chrono/boost/chrono/duration.hpp | 32 ++++++++++++++--------------
sandbox/chrono/boost/chrono/process_cpu_clocks.hpp | 24 ++++++++++----------
sandbox/chrono/boost/chrono/process_times.hpp | 16 +++++++-------
sandbox/chrono/boost/chrono/system_clocks.hpp | 2
sandbox/chrono/boost/chrono/thread_clock.hpp | 4 +-
sandbox/chrono/boost/chrono/time_point.hpp | 4 +-
17 files changed, 92 insertions(+), 92 deletions(-)
Modified: sandbox/chrono/boost/chrono/chrono_io.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/chrono_io.hpp (original)
+++ sandbox/chrono/boost/chrono/chrono_io.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -474,14 +474,14 @@
template <class CharT>
struct clock_string<system_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'s', 'y', 's', 't', 'e', 'm', '_',
+ static const CharT u[] = {'s', 'y', 's', 't', 'e', 'm', '_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string since()
{
static const CharT u[] = {' ', 's', 'i', 'n', 'c', 'e', ' ', 'J', 'a',
'n', ' ', '1', ',', ' ', '1', '9', '7', '0'};
@@ -494,14 +494,14 @@
template <class CharT>
struct clock_string<monotonic_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'m', 'o', 'n', 'o', 't', 'o', 'n', 'i', 'c', '_',
+ static const CharT u[] = {'m', 'o', 'n', 'o', 't', 'o', 'n', 'i', 'c', '_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string 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]));
@@ -512,19 +512,19 @@
#endif
-#if defined(BOOST_CHRONO_HAS_THREAD_CLOCK)
+#if defined(BOOST_CHRONO_HAS_THREAD_CLOCK)
template <class CharT>
struct clock_string<thread_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'t', 'h', 'r', 'e', 'd', '_',
+ static const CharT u[] = {'t', 'h', 'r', 'e', 'd', '_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string 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]));
@@ -537,14 +537,14 @@
template <class CharT>
struct clock_string<process_real_cpu_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 'r', 'e', 'a', 'l','_',
+ static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 'r', 'e', 'a', 'l','_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string 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]));
@@ -555,14 +555,14 @@
template <class CharT>
struct clock_string<process_user_cpu_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 'u', 's', 'e', 'r','_',
+ static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 'u', 's', 'e', 'r','_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string 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]));
@@ -573,14 +573,14 @@
template <class CharT>
struct clock_string<process_system_cpu_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 's', 'y', 's', 't', 't', 'e', 'm', '_',
+ static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_', 's', 'y', 's', 't', 't', 'e', 'm', '_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string 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]));
@@ -591,14 +591,14 @@
template <class CharT>
struct clock_string<process_cpu_clock, CharT>
{
- static std::string name()
+ static std::string name()
{
- static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_',
+ static const CharT u[] = {'p', 'r', 'o', 'c', 'e', 's', 's', '_',
'c', 'l','o', 'c', 'k'};
static const std::basic_string<CharT> str(u, u + sizeof(u)/sizeof(u[0]));
return str;
}
- static std::string since()
+ static std::string 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]));
Modified: sandbox/chrono/boost/chrono/config.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/config.hpp (original)
+++ sandbox/chrono/boost/chrono/config.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -63,7 +63,7 @@
// unicode support
#if defined(BOOST_NO_UNICODE_LITERALS) || defined(BOOST_NO_CHAR16_T) || defined(BOOST_NO_CHAR32_T)
-//~ #define BOOST_CHRONO_HAS_UNICODE_SUPPORT
+//~ #define BOOST_CHRONO_HAS_UNICODE_SUPPORT
#else
#define BOOST_CHRONO_HAS_UNICODE_SUPPORT 1
#endif
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-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -60,7 +60,7 @@
namespace chrono_detail
{
-
+
// monotonic_clock
// Note, in this implementation monotonic_clock and high_resolution_clock
@@ -72,7 +72,7 @@
// MachInfo.numer / MachInfo.denom is often 1 on the latest equipment. Specialize
// for that case as an optimization.
-BOOST_CHRONO_STATIC
+BOOST_CHRONO_STATIC
monotonic_clock::rep
monotonic_simplified()
{
@@ -112,7 +112,7 @@
system::system_error( err, system::system_category, "chrono::monotonic_clock" ));
#else
system::system_error( err, system::system_category(), "chrono::monotonic_clock" ));
-#endif
+#endif
return static_cast<monotonic_clock::rep>(mach_absolute_time() * factor);
}
@@ -127,7 +127,7 @@
ec.assign( errno, system::system_category );
#else
ec.assign( errno, system::system_category() );
-#endif
+#endif
return monotonic_clock::rep();
}
ec.clear();
@@ -178,7 +178,7 @@
system::system_error( err, system::system_category, "chrono::monotonic_clock" ));
#else
system::system_error( err, system::system_category(), "chrono::monotonic_clock" ));
-#endif
+#endif
return time_point(duration(fp()));
}
@@ -192,7 +192,7 @@
ec.assign( err, system::system_category );
#else
ec.assign( err, system::system_category() );
-#endif
+#endif
return time_point();
}
ec.clear();
Modified: sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -60,7 +60,7 @@
ec.assign( errno, system::system_category );
#else
ec.assign( errno, system::system_category() );
-#endif
+#endif
times_.real = times_.system = times_.user = nanoseconds(-1);
}
else
@@ -82,8 +82,8 @@
ec.assign( errno, system::system_category );
#else
ec.assign( errno, system::system_category() );
-#endif
-
+#endif
+
times_.real = times_.user = times_.system = nanoseconds(-1);
}
}
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-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -51,7 +51,7 @@
ec.assign( errno, system::system_category );
#else
ec.assign( errno, system::system_category() );
-#endif
+#endif
times_.real = times_.system = times_.user = nanoseconds(-1);
}
else
@@ -72,7 +72,7 @@
ec.assign( errno, system::system_category );
#else
ec.assign( errno, system::system_category() );
-#endif
+#endif
times_.real = times_.user = times_.system = nanoseconds(-1);
}
}
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-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -34,13 +34,13 @@
system::system_error( errno, system::system_category, "chrono::thread_clock" ));
#else
system::system_error( errno, system::system_category(), "chrono::thread_clock" ));
-#endif
+#endif
}
// transform to nanoseconds
return time_point(duration(
static_cast<thread_clock::rep>( ts.tv_sec ) * 1000000000 + ts.tv_nsec));
-
+
}
thread_clock::time_point thread_clock::now( system::error_code & ec ) {
// get the current thread
@@ -56,13 +56,13 @@
ec.assign( errno, system::system_category );
#else
ec.assign( errno, system::system_category() );
-#endif
+#endif
return time_point();
}
ec.clear();
// transform to nanoseconds
return time_point(duration(
static_cast<thread_clock::rep>( ts.tv_sec ) * 1000000000 + ts.tv_nsec));
-
+
}
} }
Modified: sandbox/chrono/boost/chrono/detail/inlined/process_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/process_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/process_clock.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -46,7 +46,7 @@
tps.user=process_clock::time_point(t.user);
tps.system=process_clock::time_point(t.system);
}
-
+
}}
#endif
Modified: sandbox/chrono/boost/chrono/detail/inlined/process_cpu_clocks.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/process_cpu_clocks.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/process_cpu_clocks.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -37,14 +37,14 @@
process_clock::now(t, ec);
return process_system_cpu_clock::time_point(t.system);
}
-
+
process_cpu_clock::time_point process_cpu_clock::now( system::error_code & ec ) {
process_times t;
process_clock::now(t,ec);
- time_point::rep r(t.real.count(), t.user.count(), t.system.count());
+ time_point::rep r(t.real.count(), t.user.count(), t.system.count());
return time_point(duration(r));
}
-
+
} // namespace chrono
} // namespace boost
Modified: sandbox/chrono/boost/chrono/detail/inlined/run_timer.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/run_timer.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/run_timer.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -89,9 +89,9 @@
}
}
-}
+}
+
-
run_timer::run_timer( system::error_code & ec )
: m_places(m_default_places), m_os(m_cout()) { start(ec); }
@@ -157,7 +157,7 @@
ec.assign(system::errc::success, system::generic_category);
#else
ec.assign(system::errc::success, system::generic_category());
-#endif
+#endif
//ec = error_code( EIO, errno_ecat );
}
}
Modified: sandbox/chrono/boost/chrono/detail/scan_keyword.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/scan_keyword.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/scan_keyword.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -16,7 +16,7 @@
namespace boost {
using interprocess::unique_ptr;
-
+
namespace chrono {
namespace chrono_detail {
@@ -38,7 +38,7 @@
// Keywords: "a", "abb"
// If the input is "a", the first keyword matches and eofbit is set.
// If the input is "abc", no match is found and "ab" are consumed.
-
+
template <class InputIterator, class ForwardIterator, class Ctype>
ForwardIterator
scan_keyword(InputIterator& b, InputIterator e,
Modified: sandbox/chrono/boost/chrono/detail/system.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/system.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/system.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -10,10 +10,10 @@
#include <boost/system/error_code.hpp>
#if ((BOOST_VERSION / 100000) < 2) && ((BOOST_VERSION / 100 % 1000) < 44)
-#define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category
+#define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category
#else
#define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category()
-#endif
+#endif
-
-#endif
+
+#endif
Modified: sandbox/chrono/boost/chrono/duration.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/duration.hpp (original)
+++ sandbox/chrono/boost/chrono/duration.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -379,22 +379,22 @@
struct chrono_numeric_limits {
static T lowest() throw() {return (std::numeric_limits<T>::min) ();}
};
-
+
template <class T>
struct chrono_numeric_limits<T,true> {
static T lowest() throw() {return (std::numeric_limits<T>::min) ();}
};
-
+
template <>
struct chrono_numeric_limits<float,true> {
static float lowest() throw() {return -(std::numeric_limits<float>::max) ();}
};
-
+
template <>
struct chrono_numeric_limits<double,true> {
static double lowest() throw() {return -(std::numeric_limits<double>::max) ();}
};
-
+
template <>
struct chrono_numeric_limits<long double,true> {
static long double lowest() throw() {return -(std::numeric_limits<long double>::max)();}
@@ -402,14 +402,14 @@
template <class T>
struct numeric_limits : chrono_numeric_limits<typename remove_cv<T>::type> {};
-
- }
+
+ }
template <class Rep>
struct duration_values
{
static BOOST_CHRONO_CONSTEXPR Rep zero() {return Rep(0);}
static BOOST_CHRONO_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION () {return (std::numeric_limits<Rep>::max)();}
-
+
static BOOST_CHRONO_CONSTEXPR Rep min BOOST_PREVENT_MACRO_SUBSTITUTION () {return detail::numeric_limits<Rep>::lowest();}
};
@@ -434,7 +434,7 @@
// //
//----------------------------------------------------------------------------//
-
+
namespace chrono {
template <class Rep, class Period>
@@ -455,11 +455,11 @@
template <class Rep2>
BOOST_CHRONO_CONSTEXPR explicit duration(const Rep2& r,
typename boost::enable_if <
- mpl::and_ <
+ mpl::and_ <
boost::is_convertible<Rep2, rep>,
mpl::or_ <
treat_as_floating_point<rep>,
- mpl::and_ <
+ mpl::and_ <
mpl::not_ < treat_as_floating_point<rep> >,
mpl::not_ < treat_as_floating_point<Rep2> >
>
@@ -479,9 +479,9 @@
template <class Rep2, class Period2>
BOOST_CHRONO_CONSTEXPR duration(const duration<Rep2, Period2>& d,
typename boost::enable_if <
- mpl::or_ <
+ mpl::or_ <
treat_as_floating_point<rep>,
- mpl::and_ <
+ mpl::and_ <
mpl::bool_ < ratio_divide<Period2, period>::type::den == 1>,
mpl::not_ < treat_as_floating_point<Rep2> >
>
@@ -560,8 +560,8 @@
template <class Rep1, class Period, class Rep2>
inline
typename boost::enable_if <
- mpl::and_ <
- boost::is_convertible<Rep1, typename common_type<Rep1, Rep2>::type>,
+ mpl::and_ <
+ boost::is_convertible<Rep1, typename common_type<Rep1, Rep2>::type>,
boost::is_convertible<Rep2, typename common_type<Rep1, Rep2>::type>
>,
duration<typename common_type<Rep1, Rep2>::type, Period>
@@ -577,7 +577,7 @@
template <class Rep1, class Period, class Rep2>
inline
typename boost::enable_if <
- mpl::and_ <
+ mpl::and_ <
boost::is_convertible<Rep1, typename common_type<Rep1, Rep2>::type>,
boost::is_convertible<Rep2, typename common_type<Rep1, Rep2>::type>
>,
@@ -777,7 +777,7 @@
template <class Rep2, class Period2>
BOOST_CHRONO_CONSTEXPR duration<Rep, Period>::duration(const duration<Rep2, Period2>& d,
typename boost::enable_if <
- mpl::or_ <
+ mpl::or_ <
treat_as_floating_point<rep>,
mpl::and_ <
mpl::bool_ <ratio_divide<Period2, period>::type::den == 1>,
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-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -131,14 +131,14 @@
void print(std::basic_ostream<CharT, Traits>& os) const {
os << "{"<< real <<";"<< user <<";"<< system << "}";
}
-
+
template <class CharT, class Traits>
void read(std::basic_istream<CharT, Traits>& is) const {
typedef std::istreambuf_iterator<CharT, Traits> in_iterator;
in_iterator i(is);
in_iterator e;
if (i == e || *i != '{') // mandatory '{'
- {
+ {
is.setstate(is.failbit | is.eofbit);
return;
}
@@ -150,7 +150,7 @@
}
}
};
-
+
class BOOST_CHRONO_DECL process_cpu_clock
{
public:
@@ -170,13 +170,13 @@
rhs.print(os);
return os;
}
-
+
template <class CharT, class Traits>
std::basic_istream<CharT, Traits>& operator<<(std::basic_istream<CharT, Traits>& is, process_cpu_clock_times const& rhs) {
rhs.read(is);
return is;
- }
-
+ }
+
template <>
struct duration_values<process_cpu_clock_times>
{
@@ -199,12 +199,12 @@
} // namespace boost
namespace std {
-
+
template <>
- class numeric_limits<boost::chrono::process_cpu_clock::times>
+ class numeric_limits<boost::chrono::process_cpu_clock::times>
{
typedef boost::chrono::process_cpu_clock::times Rep;
-
+
public:
static const bool is_specialized = true;
static Rep min BOOST_PREVENT_MACRO_SUBSTITUTION () {
@@ -251,15 +251,15 @@
//~ static const bool is_modulo = false;
//~ static const bool traps = false;
//~ static const bool tinyness_before = false;
- //~ static const float_round_style round_style = round_toward_zero;
-
+ //~ static const float_round_style round_style = round_toward_zero;
+
};
}
#ifndef BOOST_CHRONO_INLINED
#include <boost/config/abi_suffix.hpp> // pops abi_prefix.hpp pragmas
#else
-#include <boost/chrono/detail/inlined/process_cpu_clocks.hpp>
+#include <boost/chrono/detail/inlined/process_cpu_clocks.hpp>
#endif
#endif // BOOST_CHRONO_PROCESS_CPU_CLOCKS_HPP
Modified: sandbox/chrono/boost/chrono/process_times.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/process_times.hpp (original)
+++ sandbox/chrono/boost/chrono/process_times.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -9,7 +9,7 @@
// See http://www.boost.org/libs/system for documentation.
#ifndef BOOST_PROCESS_TIMES_HPP
-#define BOOST_PROCESS_TIMES_HPP
+#define BOOST_PROCESS_TIMES_HPP
#include <boost/chrono/duration.hpp>
#include <boost/chrono/time_point.hpp>
@@ -60,7 +60,7 @@
system::error_code & ec = system::throws );
};
-
+
//--------------------------------------------------------------------------------------//
// process_times //
//--------------------------------------------------------------------------------------//
@@ -123,7 +123,7 @@
// std::cout, which in turn would require including <iostream>, with its
// high associated cost, even when the standard streams are not used.
- BOOST_CHRONO_INLINE
+ BOOST_CHRONO_INLINE
explicit run_timer( system::error_code & ec = system::throws );
BOOST_CHRONO_INLINE
explicit run_timer( std::ostream & os,
@@ -180,14 +180,14 @@
private:
int m_places;
std::ostream & m_os;
-
+
#if defined _MSC_VER
#pragma warning(push)
#pragma warning(disable:4251)
#endif
std::string m_format;
#if defined _MSC_VER
-#pragma warning(pop)
+#pragma warning(pop)
#endif
bool m_reported;
@@ -204,9 +204,9 @@
#ifndef BOOST_CHRONO_INLINED
#include <boost/config/abi_suffix.hpp> // pops abi_prefix.hpp pragmas
#else
-#include <boost/chrono/detail/inlined/process_clock.hpp>
-#include <boost/chrono/detail/inlined/run_timer.hpp>
-#include <boost/chrono/detail/inlined/run_timer_static.hpp>
+#include <boost/chrono/detail/inlined/process_clock.hpp>
+#include <boost/chrono/detail/inlined/run_timer.hpp>
+#include <boost/chrono/detail/inlined/run_timer_static.hpp>
#endif
#endif // BOOST_PROCESS_TIMES_HPP
Modified: sandbox/chrono/boost/chrono/system_clocks.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/system_clocks.hpp (original)
+++ sandbox/chrono/boost/chrono/system_clocks.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -169,7 +169,7 @@
#ifndef BOOST_CHRONO_INLINED
#include <boost/config/abi_suffix.hpp> // pops abi_prefix.hpp pragmas
#else
-#include <boost/chrono/detail/inlined/chrono.hpp>
+#include <boost/chrono/detail/inlined/chrono.hpp>
#endif
#endif // BOOST_CHRONO_SYSTEM_CLOCKS_HPP
Modified: sandbox/chrono/boost/chrono/thread_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/thread_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/thread_clock.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -20,7 +20,7 @@
#include <boost/config/abi_prefix.hpp> // must be the last #include
#endif
-#if defined(BOOST_CHRONO_HAS_THREAD_CLOCK)
+#if defined(BOOST_CHRONO_HAS_THREAD_CLOCK)
namespace boost { namespace chrono {
@@ -43,7 +43,7 @@
#ifndef BOOST_CHRONO_INLINED
#include <boost/config/abi_suffix.hpp> // pops abi_prefix.hpp pragmas
#else
-#include <boost/chrono/detail/inlined/thread_clock.hpp>
+#include <boost/chrono/detail/inlined/thread_clock.hpp>
#endif
#endif // BOOST_CHRONO_THREAD_CLOCK_HPP
Modified: sandbox/chrono/boost/chrono/time_point.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/time_point.hpp (original)
+++ sandbox/chrono/boost/chrono/time_point.hpp 2010-10-17 18:28:26 EDT (Sun, 17 Oct 2010)
@@ -71,7 +71,7 @@
};
-
+
namespace chrono {
// time_point arithmetic
@@ -112,7 +112,7 @@
// time_point_cast
template <class ToDuration, class Clock, class Duration>
time_point<Clock, ToDuration> time_point_cast(const time_point<Clock, Duration>& t);
-
+
//----------------------------------------------------------------------------//
// //
// 20.9.4 Class template time_point [time.point] //
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