2
0
mirror of https://github.com/boostorg/chrono.git synced 2026-01-29 19:32:16 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Vicente J. Botet Escriba
1df5d6ab2b Chrono: Added BOOST_CHRONO_VERSION
[SVN r75667]
2011-11-26 09:42:14 +00:00
Vicente J. Botet Escriba
eb75bfe513 Chrono: Yet another renaming in duration_units
[SVN r75598]
2011-11-21 22:24:41 +00:00
Vicente J. Botet Escriba
a7af8eb423 Chrono: renamed some functions in duration_units
[SVN r75584]
2011-11-21 07:07:27 +00:00
Vicente J. Botet Escriba
e9c83d9fb5 Chrono: removed put functions in duration_units/time_point_units facets and the OutputIterator parameters
[SVN r75577]
2011-11-20 18:32:48 +00:00
Vicente J. Botet Escriba
24321eeab2 Chrono: refactor stopwatch_reporter
[SVN r75408]
2011-11-08 16:52:56 +00:00
Vicente J. Botet Escriba
48b7a3f675 Chrono: fix bad use of duration_style::prefix in IO V1
[SVN r75344]
2011-11-06 12:26:44 +00:00
Vicente J. Botet Escriba
ec165883bd Chrono: restore io v1 and fix some error in it.
[SVN r75331]
2011-11-05 22:12:23 +00:00
Vicente J. Botet Escriba
4d159756c5 Chrono: Update french show the customization for '0 seconde'.
[SVN r75242]
2011-11-01 22:48:51 +00:00
Vicente J. Botet Escriba
b138e35634 Chrono: Update french example to use the new facet.
[SVN r75241]
2011-11-01 22:40:12 +00:00
Vicente J. Botet Escriba
f9e356bcaa Chrono: use time_fmt with a format
[SVN r75154]
2011-10-28 14:47:07 +00:00
Vicente J. Botet Escriba
4a956d4cef Chrono: French test works only with old implementation
[SVN r75150]
2011-10-27 22:58:19 +00:00
Vicente J. Botet Escriba
bfc23bc577 Chrono: include explicitly clock files
[SVN r74740]
2011-10-05 14:49:40 +00:00
Vicente J. Botet Escriba
375920583b Chrono: replace deprecated duration_short/duration_long. undef BOOST_CHRONO_IO_V1_DONT_PROVIDE_DEPRECATED is this will when deprecated
[SVN r74693]
2011-10-04 12:31:15 +00:00
Vicente J. Botet Escriba
03cf67d5b7 Chrono: update accuracy test to checl also for process_cpu_clock
[SVN r74690]
2011-10-04 10:23:17 +00:00
Vicente J. Botet Escriba
548f6f67bd Chrono: Add BOOST_CHRONO_HAS_PROCESS_CLOCKS protection for CE
[SVN r74679]
2011-10-03 21:12:09 +00:00
Vicente J. Botet Escriba
80271eccb0 Chrono: endure simple_stopwatch.hpp in included
[SVN r74637]
2011-10-02 08:07:04 +00:00
Vicente J. Botet Escriba
f9b36150ed Chrono: remove not useful lightweight_stopwatch_reporter
[SVN r74633]
2011-10-01 21:27:09 +00:00
Vicente J. Botet Escriba
2f5384b35d Chrono: added traces to try to catch some errors on Solaris
[SVN r74526]
2011-09-22 21:53:25 +00:00
Vicente J. Botet Escriba
9e22344e26 Added lightweight_stopwatch_reporter_example.cpp
[SVN r74494]
2011-09-21 17:13:01 +00:00
Vicente J. Botet Escriba
43b88f477b Chrono: Added basic Stopwatch reporter basic example
[SVN r74456]
2011-09-18 20:22:47 +00:00
Vicente J. Botet Escriba
c3fa56b8da Adapt test to definition of BOOST_CHRONO_HAS_THREAD_CLOCK
[SVN r74452]
2011-09-18 14:13:30 +00:00
Vicente J. Botet Escriba
d42e56ef8e Chrono: Inspect cleanup
[SVN r74437]
2011-09-17 11:31:27 +00:00
Vicente J. Botet Escriba
09bf4706d0 Chrono: replace ./timer.hpp by simple_stopwatch.hpp
[SVN r74423]
2011-09-16 21:16:38 +00:00
Vicente J. Botet Escriba
933149e3ae Chrono: Added some i/o facilities + a simple stopwatch
[SVN r74420]
2011-09-16 16:55:35 +00:00
Vicente J. Botet Escriba
fbd88dcb10 Chrono: Move timer.hpp to the example directory
[SVN r74210]
2011-09-03 16:12:27 +00:00
Vicente J. Botet Escriba
85bb879878 Chrono: Added rounding utilities
[SVN r74207]
2011-09-03 15:44:33 +00:00
David Deakins
c5e71b2234 Changes to complete Boost.Chrono support for Windows CE. Closes ticket 5218.
[SVN r69240]
2011-02-24 18:21:52 +00:00
Vicente J. Botet Escriba
a2f6f86db9 Chrono
[SVN r69018]
2011-02-19 01:08:00 +00:00
Vicente J. Botet Escriba
cd5bed7a71 Chrono: update original file from Bemman port to boost, so the runtime_resolution namespace is used.
[SVN r68733]
2011-02-08 20:46:12 +00:00
Vicente J. Botet Escriba
dc3f4f0825 Chrono: Remove error: ambiguous reference to std ratio or chrono interface
[SVN r68667]
2011-02-06 12:29:03 +00:00
Steven Watanabe
090a13592d Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
2954017d39 Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Vicente J. Botet Escriba
9f4ecf245d Boost.Chrono: Add debug info for io_ex3.cpp
[SVN r68116]
2011-01-13 18:18:49 +00:00
Vicente J. Botet Escriba
6239df89c1 Boost.Chrono: Add debug info for accuracy test
[SVN r68114]
2011-01-13 18:17:17 +00:00
Vicente J. Botet Escriba
12c23f89a2 Boost.Chrono: Update breaking change
Test output: Sandia-darwin-4.0.1 - chrono - saturating_header / darwin-4.0.1
Rev 68077 / Thu, 13 Jan 2011 01:52:53 +0000
Report Time: Thu, 13 Jan 2011 04:05:07 +0000

Compile [2011-01-13 02:43:47 UTC]: fail

    "/usr/bin/g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_INLINED -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED  -I".." -c -o "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/saturating_header.test/darwin-4.0.1/debug/saturating.o" "../libs/chrono/test/../example/saturating.cpp"

../libs/chrono/test/../example/saturating.cpp:146: error: expected type-specifier

TinyUrl 

[SVN r68085]
2011-01-13 06:03:12 +00:00
Vicente J. Botet Escriba
bf173956b3 Boost.Chrono: try to solve
Test output: daw-msvc71 - chrono - saturating_shared / msvc-7.1
Rev 68023 / Wed, 12 Jan 2011 02:00:50 +0000
Report Time: Wed, 12 Jan 2011 15:19:47 +0000

Compile [2011-01-12 07:20:48 UTC]: fail

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat"  >nul
cl /Zm800 -nologo @"C:\boost_testing_trunk\results\boost\bin.v2\libs\chrono\test\saturating_shared.test\msvc-7.1\debug\asynch-exceptions-on\threading-multi\saturating.obj.rsp" 

saturating.cpp
..\libs\chrono\test\..\example\saturating.cpp(146) : error C2833: 'operator int_type' is not a recognized operator or type
..\libs\chrono\test\..\example\saturating.cpp(156) : fatal error C1903: unable to recover from previous error(s); stopping compilation

TinyUrl 

[SVN r68064]
2011-01-12 18:01:07 +00:00
Vicente J. Botet Escriba
436ae2c780 Boost.Chrono: try to remove warnings
Test output: daw-msvc71 - chrono - test_clock_shared / msvc-7.1
Rev 68023 / Wed, 12 Jan 2011 02:00:50 +0000
Report Time: Wed, 12 Jan 2011 15:19:47 +0000

Compile [2011-01-12 07:20:48 UTC]: fail

    call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat"  >nul
cl /Zm800 -nologo @"C:\boost_testing_trunk\results\boost\bin.v2\libs\chrono\test\test_clock_shared.test\msvc-7.1\debug\asynch-exceptions-on\threading-multi\test_clock.obj.rsp" 

test_clock.cpp
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
        ..\libs\chrono\test\..\example\test_clock.cpp(164) : see reference to function template instantiation 'void test_clock<boost::chrono::system_clock>(void)' being compiled
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(61) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
..\libs\chrono\test\..\example\test_clock.cpp(67) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
        ..\libs\chrono\test\..\example\test_clock.cpp(166) : see reference to function template instantiation 'void test_clock<boost::chrono::steady_clock>(void)' being compiled
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(43) : error C2082: redefinition of formal parameter '__formal'
..\libs\chrono\test\..\example\test_clock.cpp(61) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
..\libs\chrono\test\..\example\test_clock.cpp(67) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data


[SVN r68061]
2011-01-12 17:58:45 +00:00
Vicente J. Botet Escriba
36b436f8cb Boost.Chrono: Extract the typeof use from this test. Other typeof specific tests must be added.
[SVN r67881]
2011-01-09 21:05:36 +00:00
Vicente J. Botet Escriba
8136a2c695 Boost.Chrono: Try to solve Darwin issue with gettimeofday
[SVN r67853]
2011-01-09 07:55:08 +00:00
Vicente J. Botet Escriba
28f5d361d0 Boost.Chrono: Try to solve Darwin issue
Test output: Sandia-darwin-4.0.1 - chrono - runtime_resolution_shared / darwin-4.0.1
Rev 67828 / Sun, 9 Jan 2011 01:50:24 +0000
Report Time: Sun, 9 Jan 2011 04:02:34 +0000

Compile [2011-01-09 02:37:56 UTC]: fail

    "/usr/bin/g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H  -I".." -c -o "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/runtime_resolution_shared.test/darwin-4.0.1/debug/runtime_resolution.o" "../libs/chrono/test/../example/runtime_resolution.cpp"

../libs/chrono/test/../example/runtime_resolution.cpp: In function 'double runtime_resolution::init_duration()':
../libs/chrono/test/../example/runtime_resolution.cpp:131: error: 'mach_timebase_info_data_t' was not declared in this scope
../libs/chrono/test/../example/runtime_resolution.cpp:131: error: expected `;' before 'MachInfo'
../libs/chrono/test/../example/runtime_resolution.cpp:132: error: 'MachInfo' was not declared in this scope
../libs/chrono/test/../example/runtime_resolution.cpp:132: error: 'mach_timebase_info' was not declared in this scope
../libs/chrono/test/../example/runtime_resolution.cpp: In static member function 'static runtime_resolution::time_point runtime_resolution::clock::now()':
../libs/chrono/test/../example/runtime_resolution.cpp:190: error: 'gettimeofday' was not declared in this scope

TinyUrl 

[SVN r67852]
2011-01-09 07:47:41 +00:00
Vicente J. Botet Escriba
92e35f6781 Boost.Chrono: Sandia-pgi Make dependencies to process and thread clocks explicit so I can identify what don't works better
Test output: Sandia-pgi-10.1 - chrono - arithmetic_pass_shared / pgi-10.1
Rev 67766 / Sat, 8 Jan 2011 07:38:17 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000

Output by test variants:
boost/bin.v2/libs/chrono/test/arithmetic_pass_shared.test/pgi-10.1/debug/threading-multi
boost/bin.v2/libs/chrono/test/arithmetic_pass_shared.test/pgi-10.1/debug/threading-multi/duration



[SVN r67783]
2011-01-08 15:21:20 +00:00
Vicente J. Botet Escriba
6feeb0c1e5 Boost.Chrono: Added French output example
[SVN r67771]
2011-01-08 10:30:31 +00:00
Vicente J. Botet Escriba
eb23446546 Boost.Chrono: change monotonic by steady
[SVN r67762]
2011-01-07 21:24:17 +00:00
Vicente J. Botet Escriba
c183fb72fd Boost.Chrono: Moved to trunk
[SVN r67698]
2011-01-06 00:47:42 +00:00