// boost run_timer_static.cpp --------------------------------------------------------// // Copyright Beman Dawes 2008 // Copyright 2009-2010 Vicente J. Botet Escriba // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt // See http://www.boost.org/libs/chrono for documentation. //--------------------------------------------------------------------------------------// // This function is defined in a separate translation so that it will not be linked // in except if actually used. This is more efficient because header is // required, and it incurs the cost of the standard stream objects even if they are // not actually used. //--------------------------------------------------------------------------------------// #ifndef BOOST_CHRONO_DETAIL_INLINED_RUN_TIMER_STATIC_HPP #define BOOST_CHRONO_DETAIL_INLINED_RUN_TIMER_STATIC_HPP #include #include #include namespace boost { namespace chrono { std::ostream & run_timer::m_cout() { return std::cout; } } // namespace chrono } // namespace boost #endif