Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:46

0001 //  boost process_cpu_clocks.cpp  -----------------------------------------------------------//
0002 
0003 //  Copyright 2009-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_PROCESS_CPU_CLOCKS_HPP
0012 #define BOOST_CHRONO_DETAIL_INLINED_PROCESS_CPU_CLOCKS_HPP
0013 
0014 
0015 #include <boost/chrono/config.hpp>
0016 #if defined(BOOST_CHRONO_HAS_PROCESS_CLOCKS)
0017 
0018 #include <boost/version.hpp>
0019 #include <boost/chrono/process_cpu_clocks.hpp>
0020 #include <boost/throw_exception.hpp>
0021 #if defined BOOST_CHRONO_PROVIDE_HYBRID_ERROR_HANDLING
0022 #include <boost/system/system_error.hpp>
0023 #endif
0024 //----------------------------------------------------------------------------//
0025 //                                Windows                                     //
0026 //----------------------------------------------------------------------------//
0027 #if defined(BOOST_CHRONO_WINDOWS_API)
0028 #include <boost/chrono/detail/inlined/win/process_cpu_clocks.hpp>
0029 
0030 //----------------------------------------------------------------------------//
0031 //                                 Mac                                        //
0032 //----------------------------------------------------------------------------//
0033 #elif defined(BOOST_CHRONO_MAC_API)
0034 #include <boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp>
0035 
0036 //----------------------------------------------------------------------------//
0037 //                                POSIX                                     //
0038 //----------------------------------------------------------------------------//
0039 #elif defined(BOOST_CHRONO_POSIX_API)
0040 #include <boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp>
0041 
0042 #endif  // POSIX
0043 
0044 #endif
0045 
0046 #endif