]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // boost/chrono/stopwatches/reporters/laps_accumulator_set_stopwatch_default_formatter.hpp |
2 | // Copyright 2011 Vicente J. Botet Escriba | |
3 | // Distributed under the Boost Software License, Version 1.0. | |
4 | // (See accompanying file LICENSE_1_0.txt or | |
5 | // copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | // See http://www.boost.org/libs/chrono/stopwatches for documentation. | |
7 | ||
8 | #ifndef BOOST_CHRONO_STOPWATCHES_REPORTERS_LAPS_STOPWATCH_DEFAULT_FORMATTER_HPP | |
9 | #define BOOST_CHRONO_STOPWATCHES_REPORTERS_LAPS_STOPWATCH_DEFAULT_FORMATTER_HPP | |
10 | ||
11 | #include <boost/chrono/stopwatches/reporters/stopwatch_reporter_default_formatter.hpp> | |
12 | #include <boost/chrono/stopwatches/formatters/accumulator_set_formatter.hpp> | |
13 | #include <boost/chrono/stopwatches/collectors/laps_accumulator_set.hpp> | |
14 | #include <boost/chrono/stopwatches/stopwatch.hpp> | |
15 | #include <boost/chrono/thread_clock.hpp> | |
16 | ||
17 | namespace boost | |
18 | { | |
19 | namespace chrono | |
20 | { | |
21 | ||
22 | template <typename CharT, typename Clock, typename Features, typename Weight> | |
23 | struct basic_stopwatch_reporter_default_formatter<CharT, stopwatch<Clock,laps_accumulator_set<typename Clock::duration,Features, Weight> > > | |
24 | { | |
25 | typedef basic_accumulator_set_formatter<milli,CharT> type; | |
26 | }; | |
27 | ||
28 | } // namespace chrono | |
29 | } // namespace boost | |
30 | ||
31 | ||
32 | #endif | |
33 | ||
34 |