|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53058 - in sandbox/chrono: boost/chrono libs/chrono/src libs/chrono/test/chrono_msvc libs/chrono/test/chrono_msvc/system_dll
From: bdawes_at_[hidden]
Date: 2009-05-16 15:09:50
Author: bemandawes
Date: 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
New Revision: 53058
URL: http://svn.boost.org/trac/boost/changeset/53058
Log:
Tweak comments, test setup
Text files modified:
sandbox/chrono/boost/chrono/process_times.hpp | 32 ++++++++++++++++----------------
sandbox/chrono/boost/chrono/timer.hpp | 8 ++++----
sandbox/chrono/libs/chrono/src/process_clock.cpp | 4 ++--
sandbox/chrono/libs/chrono/src/run_timer.cpp | 8 ++++----
sandbox/chrono/libs/chrono/src/run_timer_static.cpp | 6 +++---
sandbox/chrono/libs/chrono/test/chrono_msvc/common.vsprops | 2 +-
sandbox/chrono/libs/chrono/test/chrono_msvc/system_dll/system_dll.vcproj | 2 +-
7 files changed, 31 insertions(+), 31 deletions(-)
Modified: sandbox/chrono/boost/chrono/process_times.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/process_times.hpp (original)
+++ sandbox/chrono/boost/chrono/process_times.hpp 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -1,4 +1,4 @@
-// boost process_times.hpp ------------------------------------------------------//
+// boost process_times.hpp -----------------------------------------------------------//
// Copyright Beman Dawes 1994, 2007, 2008
@@ -25,9 +25,9 @@
struct process_times;
-//---------------------------------------------------------------------------------//
-// process_clock //
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
+// process_clock //
+//--------------------------------------------------------------------------------------//
class BOOST_CHRONO_DECL process_clock
{
@@ -42,20 +42,20 @@
system::error_code & ec = system::throws );
};
-//---------------------------------------------------------------------------------//
-// process_times //
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
+// process_times //
+//--------------------------------------------------------------------------------------//
struct process_times
{
- process_clock::duration real; // real time
- process_clock::duration user; // user cpu time
- process_clock::duration system; // system cpu time
+ process_clock::duration real; // real (i.e wall clock) time
+ process_clock::duration user; // user cpu time
+ process_clock::duration system; // system cpu time
};
-//---------------------------------------------------------------------------------//
-// process_timer //
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
+// process_timer //
+//--------------------------------------------------------------------------------------//
class BOOST_CHRONO_DECL process_timer
// BOOST_CHRONO_DECL is required to quiet compiler warnings even though
@@ -93,9 +93,9 @@
process_times m_start;
};
-//---------------------------------------------------------------------------------//
-// run_timer //
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
+// run_timer //
+//--------------------------------------------------------------------------------------//
class BOOST_CHRONO_DECL run_timer : public process_timer
{
Modified: sandbox/chrono/boost/chrono/timer.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/timer.hpp (original)
+++ sandbox/chrono/boost/chrono/timer.hpp 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -1,4 +1,4 @@
-// boost/chrono/timer.hpp -------------------------------------------------------//
+// boost/chrono/timer.hpp ------------------------------------------------------------//
// Copyright Beman Dawes 2008
@@ -18,9 +18,9 @@
namespace chrono
{
-//---------------------------------------------------------------------------------//
-// timer //
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
+// timer //
+//--------------------------------------------------------------------------------------//
template <class Clock>
class timer
Modified: sandbox/chrono/libs/chrono/src/process_clock.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/src/process_clock.cpp (original)
+++ sandbox/chrono/libs/chrono/src/process_clock.cpp 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -1,4 +1,4 @@
-// boost process_timer.cpp ------------------------------------------------------//
+// boost process_timer.cpp -----------------------------------------------------------//
// Copyright Beman Dawes 1994, 2006, 2008
@@ -7,7 +7,7 @@
// See http://www.boost.org/libs/chrono for documentation.
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
// define BOOST_CHRONO_SOURCE so that <boost/chrono/config.hpp> knows
// the library is being built (possibly exporting rather than importing code)
Modified: sandbox/chrono/libs/chrono/src/run_timer.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/src/run_timer.cpp (original)
+++ sandbox/chrono/libs/chrono/src/run_timer.cpp 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -1,4 +1,4 @@
-// boost run_timer.cpp -----------------------------------------------------//
+// boost run_timer.cpp ---------------------------------------------------------------//
// Copyright Beman Dawes 1994, 2006, 2008
@@ -7,7 +7,7 @@
// See http://www.boost.org/libs/chrono for documentation.
-//----------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
// define BOOST_CHRONO_SOURCE so that <boost/chrono/config.hpp> knows
// the library is being built (possibly exporting rather than importing code)
@@ -90,7 +90,7 @@
{
namespace chrono
{
- // run_timer::report --------------------------------------------------------//
+ // run_timer::report -------------------------------------------------------------//
void run_timer::report( system::error_code & ec )
{
@@ -120,7 +120,7 @@
}
}
- // run_timer::test_report ---------------------------------------------------//
+ // run_timer::test_report --------------------------------------------------------//
void run_timer::test_report( duration real_, duration user_, duration system_ )
{
Modified: sandbox/chrono/libs/chrono/src/run_timer_static.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/src/run_timer_static.cpp (original)
+++ sandbox/chrono/libs/chrono/src/run_timer_static.cpp 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -1,4 +1,4 @@
-// boost run_timer_static.cpp ---------------------------------------------------//
+// boost run_timer_static.cpp --------------------------------------------------------//
// Copyright Beman Dawes 2008
@@ -7,14 +7,14 @@
// See http://www.boost.org/libs/chrono for documentation.
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
// This function is defined in a separate translation so that it will not be linked
// in except if actually used. This is more efficient because header <iostream> is
// required, and it incurs the cost of the standard stream objects even if they are
// not actually used.
-//---------------------------------------------------------------------------------//
+//--------------------------------------------------------------------------------------//
// define BOOST_CHRONO_SOURCE so that <boost/chrono/config.hpp> knows
// the library is being built (possibly exporting rather than importing code)
Modified: sandbox/chrono/libs/chrono/test/chrono_msvc/common.vsprops
==============================================================================
--- sandbox/chrono/libs/chrono/test/chrono_msvc/common.vsprops (original)
+++ sandbox/chrono/libs/chrono/test/chrono_msvc/common.vsprops 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -6,7 +6,7 @@
>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="..\..\..\..\.."
+ AdditionalIncludeDirectories="..\..\..\..\..;"$(BOOST_TRUNK)""
PreprocessorDefinitions="BOOST_ALL_NO_LIB;BOOST_SYSTEM_DYN_LINK;BOOST_CHRONO_DYN_LINK"
ExceptionHandling="2"
/>
Modified: sandbox/chrono/libs/chrono/test/chrono_msvc/system_dll/system_dll.vcproj
==============================================================================
--- sandbox/chrono/libs/chrono/test/chrono_msvc/system_dll/system_dll.vcproj (original)
+++ sandbox/chrono/libs/chrono/test/chrono_msvc/system_dll/system_dll.vcproj 2009-05-16 15:09:49 EDT (Sat, 16 May 2009)
@@ -175,7 +175,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
- RelativePath="..\..\..\..\system\src\error_code.cpp"
+ RelativePath="..\..\..\..\..\..\..\trunk\libs\system\src\error_code.cpp"
>
</File>
</Filter>
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