| Index: base/metrics/stats_counters.h
|
| ===================================================================
|
| --- base/metrics/stats_counters.h (revision 79303)
|
| +++ base/metrics/stats_counters.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/base_api.h"
|
| #include "base/metrics/stats_table.h"
|
| #include "base/time.h"
|
|
|
| @@ -74,7 +75,7 @@
|
|
|
| //------------------------------------------------------------------------------
|
| // StatsCounter represents a counter in the StatsTable class.
|
| -class StatsCounter {
|
| +class BASE_API StatsCounter {
|
| public:
|
| // Create a StatsCounter object.
|
| explicit StatsCounter(const std::string& name);
|
| @@ -128,7 +129,7 @@
|
| // A StatsCounterTimer is a StatsCounter which keeps a timer during
|
| // the scope of the StatsCounterTimer. On destruction, it will record
|
| // its time measurement.
|
| -class StatsCounterTimer : protected StatsCounter {
|
| +class BASE_API StatsCounterTimer : protected StatsCounter {
|
| public:
|
| // Constructs and starts the timer.
|
| explicit StatsCounterTimer(const std::string& name);
|
| @@ -157,7 +158,7 @@
|
| // A StatsRate is a timer that keeps a count of the number of intervals added so
|
| // that several statistics can be produced:
|
| // min, max, avg, count, total
|
| -class StatsRate : public StatsCounterTimer {
|
| +class BASE_API StatsRate : public StatsCounterTimer {
|
| public:
|
| // Constructs and starts the timer.
|
| explicit StatsRate(const std::string& name);
|
|
|