blob: e157eb39d2d8ad24a11faac8381952ecd55457a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp
// Copyright 2011 Vicente J. Botet Escriba
// Copyright (c) Microsoft Corporation 2014
// 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/laps_stopwatch.hpp>
#if ! BOOST_OS_WINDOWS || BOOST_PLAT_WINDOWS_DESKTOP
#include <boost/chrono/thread_clock.hpp>
#endif
namespace boost
{
namespace chrono
{
template <typename CharT, typename Clock, typename Features, typename Weight>
struct basic_stopwatch_reporter_default_formatter<CharT, laps_stopwatch<Clock,laps_accumulator_set<typename Clock::duration,Features, Weight> > >
{
typedef basic_accumulator_set_formatter<milli,CharT> type;
};
} // namespace chrono
} // namespace boost
#endif
|