]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/chrono/stopwatches/include/boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / chrono / stopwatches / include / boost / chrono / stopwatches / reporters / laps_stopwatch_default_formatter.hpp
CommitLineData
7c673cae
FG
1// boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp
2// Copyright 2011 Vicente J. Botet Escriba
3// Copyright (c) Microsoft Corporation 2014
4// Distributed under the Boost Software License, Version 1.0.
5// (See accompanying file LICENSE_1_0.txt or
6// copy at http://www.boost.org/LICENSE_1_0.txt)
7// See http://www.boost.org/libs/chrono/stopwatches for documentation.
8
9#ifndef BOOST_CHRONO_STOPWATCHES_REPORTERS_LAPS_STOPWATCH_DEFAULT_FORMATTER_HPP
10#define BOOST_CHRONO_STOPWATCHES_REPORTERS_LAPS_STOPWATCH_DEFAULT_FORMATTER_HPP
11
12#include <boost/chrono/stopwatches/reporters/stopwatch_reporter_default_formatter.hpp>
13#include <boost/chrono/stopwatches/formatters/accumulator_set_formatter.hpp>
14#include <boost/chrono/stopwatches/collectors/laps_accumulator_set.hpp>
15#include <boost/chrono/stopwatches/laps_stopwatch.hpp>
16#if ! BOOST_OS_WINDOWS || BOOST_PLAT_WINDOWS_DESKTOP
17#include <boost/chrono/thread_clock.hpp>
18#endif
19
20namespace boost
21{
22 namespace chrono
23 {
24
25 template <typename CharT, typename Clock, typename Features, typename Weight>
26 struct basic_stopwatch_reporter_default_formatter<CharT, laps_stopwatch<Clock,laps_accumulator_set<typename Clock::duration,Features, Weight> > >
27 {
28 typedef basic_accumulator_set_formatter<milli,CharT> type;
29 };
30
31 } // namespace chrono
32} // namespace boost
33
34
35#endif
36
37