|
||||
File indexing completed on 2025-01-18 09:29:46
0001 // boost thread_clock.cpp -----------------------------------------------------------// 0002 0003 // Copyright 2010 Vicente J. Botet Escriba 0004 0005 // Distributed under the Boost Software License, Version 1.0. 0006 // See http://www.boost.org/LICENSE_1_0.txt 0007 0008 // See http://www.boost.org/libs/chrono for documentation. 0009 0010 //--------------------------------------------------------------------------------------// 0011 #ifndef BOOST_CHRONO_DETAIL_INLINED_THREAD_CLOCK_HPP 0012 #define BOOST_CHRONO_DETAIL_INLINED_THREAD_CLOCK_HPP 0013 0014 #include <boost/chrono/config.hpp> 0015 #include <boost/version.hpp> 0016 #if defined(BOOST_CHRONO_HAS_THREAD_CLOCK) 0017 #include <boost/chrono/thread_clock.hpp> 0018 #include <boost/throw_exception.hpp> 0019 #if defined BOOST_CHRONO_PROVIDE_HYBRID_ERROR_HANDLING 0020 #include <boost/system/system_error.hpp> 0021 #endif 0022 #include <boost/throw_exception.hpp> 0023 #include <boost/chrono/detail/system.hpp> 0024 0025 //----------------------------------------------------------------------------// 0026 // Windows // 0027 //----------------------------------------------------------------------------// 0028 #if defined(BOOST_CHRONO_WINDOWS_API) 0029 #include <boost/chrono/detail/inlined/win/thread_clock.hpp> 0030 0031 //----------------------------------------------------------------------------// 0032 // Mac // 0033 //----------------------------------------------------------------------------// 0034 #elif defined(BOOST_CHRONO_MAC_API) 0035 #include <boost/chrono/detail/inlined/mac/thread_clock.hpp> 0036 0037 //----------------------------------------------------------------------------// 0038 // POSIX // 0039 //----------------------------------------------------------------------------// 0040 #elif defined(BOOST_CHRONO_POSIX_API) 0041 #include <boost/chrono/detail/inlined/posix/thread_clock.hpp> 0042 0043 #endif // POSIX 0044 0045 #endif 0046 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |