Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54100 - sandbox/monotonic/libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-19 01:42:17


Author: cschladetsch
Date: 2009-06-19 01:42:17 EDT (Fri, 19 Jun 2009)
New Revision: 54100
URL: http://svn.boost.org/trac/boost/changeset/54100

Log:
better formatting for tables

Text files modified:
   sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp | 3 +++
   sandbox/monotonic/libs/monotonic/test/monotonic.vcproj | 16 ++++++++--------
   2 files changed, 11 insertions(+), 8 deletions(-)

Modified: sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp 2009-06-19 01:42:17 EDT (Fri, 19 Jun 2009)
@@ -316,6 +316,7 @@
 
 int main()
 {
+ boost::timer timer;
         PrintResults(compare_memory_pool(100, 1000, 10, "thrash_pool_sort_list_int", thrash_pool_sort_list_int()));
 
 #ifdef WIN32
@@ -334,6 +335,8 @@
         PrintResults(compare_memory_pool(1000, 1000, 10, "thrash_pool_sort", thrash_pool_sort()));
         PrintResults(compare_memory_pool(1000, 2000, 10, "thrash_pool_map_list_unaligned", thrash_pool_map_list_unaligned()));
 
+ cout << "tests completed in " << setprecision(2) << timer.elapsed() << "s" << endl;
+
         return 0;
 }
 

Modified: sandbox/monotonic/libs/monotonic/test/monotonic.vcproj
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/monotonic.vcproj (original)
+++ sandbox/monotonic/libs/monotonic/test/monotonic.vcproj 2009-06-19 01:42:17 EDT (Fri, 19 Jun 2009)
@@ -288,6 +288,14 @@
                                 RelativePath=".\Jamfile.v2"
>
                         </File>
+ <File
+ RelativePath=".\results_gcc.txt"
+ >
+ </File>
+ <File
+ RelativePath=".\results_msvc.txt"
+ >
+ </File>
                 </Filter>
                 <File
                         RelativePath=".\basic_tests.cpp"
@@ -361,14 +369,6 @@
                         </FileConfiguration>
                 </File>
                 <File
- RelativePath=".\results_gcc.txt"
- >
- </File>
- <File
- RelativePath=".\results_msvc.txt"
- >
- </File>
- <File
                         RelativePath=".\rope.cpp"
>
                         <FileConfiguration


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