| // boost/chrono/stopwatches/reporters/laps_accumulator_set_stopwatch_default_formatter.hpp |
| // Copyright 2011 Vicente J. Botet Escriba |
| // Distributed under the Boost Software License, Version 1.0. |
| // (See accompanying file LICENSE_1_0.txt or |
| // copy at http://www.boost.org/LICENSE_1_0.txt) |
| // See http://www.boost.org/libs/chrono/stopwatches for documentation. |
| |
| #ifndef BOOST_CHRONO_STOPWATCHES_REPORTERS_LAPS_STOPWATCH_DEFAULT_FORMATTER_HPP |
| #define BOOST_CHRONO_STOPWATCHES_REPORTERS_LAPS_STOPWATCH_DEFAULT_FORMATTER_HPP |
| |
| #include <boost/chrono/stopwatches/reporters/stopwatch_reporter_default_formatter.hpp> |
| #include <boost/chrono/stopwatches/formatters/accumulator_set_formatter.hpp> |
| #include <boost/chrono/stopwatches/collectors/laps_accumulator_set.hpp> |
| #include <boost/chrono/stopwatches/stopwatch.hpp> |
| #include <boost/chrono/thread_clock.hpp> |
| |
| namespace boost |
| { |
| namespace chrono |
| { |
| |
| template <typename CharT, typename Clock, typename Features, typename Weight> |
| struct basic_stopwatch_reporter_default_formatter<CharT, stopwatch<Clock,laps_accumulator_set<typename Clock::duration,Features, Weight> > > |
| { |
| typedef basic_accumulator_set_formatter<milli,CharT> type; |
| }; |
| |
| } // namespace chrono |
| } // namespace boost |
| |
| |
| #endif |
| |
| |