]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/chrono/test/test_9337.cpp
1 //#define BOOST_CHRONO_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0
4 #include <boost/chrono.hpp>
5 #include <boost/chrono/chrono_io.hpp>
8 using namespace boost::chrono
;
10 template <typename Clock
>
13 typename
Clock::time_point start
=Clock::now();
15 typename
Clock::time_point stop
=Clock::now();
16 cout
<<stop
-start
<<endl
;
22 test
<process_cpu_clock
>();
23 test
<process_real_cpu_clock
>();
24 test
<process_user_cpu_clock
>();
25 test
<process_system_cpu_clock
>();