11 #ifndef ASIO_HIGH_RESOLUTION_TIMER_HPP 12 #define ASIO_HIGH_RESOLUTION_TIMER_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_STD_CHRONO) \ 21 || defined(ASIO_HAS_BOOST_CHRONO) \ 22 || defined(GENERATING_DOCUMENTATION) 24 #if defined(ASIO_HAS_STD_CHRONO) 26 #elif defined(ASIO_HAS_BOOST_CHRONO) 27 # include <boost/chrono/system_clocks.hpp> 34 #if defined(GENERATING_DOCUMENTATION) 44 typedef basic_waitable_timer<
45 chrono::high_resolution_clock>
46 high_resolution_timer;
47 #elif defined(ASIO_HAS_STD_CHRONO) 48 typedef basic_waitable_timer<
49 std::chrono::high_resolution_clock>
50 high_resolution_timer;
51 #elif defined(ASIO_HAS_BOOST_CHRONO) 52 typedef basic_waitable_timer<
53 boost::chrono::high_resolution_clock>
54 high_resolution_timer;
59 #endif // defined(ASIO_HAS_STD_CHRONO) 63 #endif // ASIO_HIGH_RESOLUTION_TIMER_HPP