|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75459 - trunk/boost/chrono/stopwatches/reporters
From: vicente.botet_at_[hidden]
Date: 2011-11-12 09:52:05
Author: viboes
Date: 2011-11-12 09:52:04 EST (Sat, 12 Nov 2011)
New Revision: 75459
URL: http://svn.boost.org/trac/boost/changeset/75459
Log:
Chrono: Added missing file stopwatches/reporters/laps_stopwatch_default_formatter.hpp
Added:
trunk/boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp (contents, props changed)
Added: trunk/boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp 2011-11-12 09:52:04 EST (Sat, 12 Nov 2011)
@@ -0,0 +1,34 @@
+// boost/chrono/stopwatches/reporters/laps_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/laps_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, laps_stopwatch<Clock,laps_accumulator_set<typename Clock::duration,Features, Weight> > >
+ {
+ typedef basic_accumulator_set_formatter<milli,CharT> type;
+ };
+
+ } // namespace chrono
+} // namespace boost
+
+
+#endif
+
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk