Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Side by Side Diff: base/metrics/histogram.h

Issue 18051003: Use a direct include of time headers in base/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/metrics/field_trial.h ('k') | base/metrics/histogram_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Histogram is an object that aggregates statistics, and can summarize them in 5 // Histogram is an object that aggregates statistics, and can summarize them in
6 // various forms, including ASCII graphical, HTML, and numerically (as a 6 // various forms, including ASCII graphical, HTML, and numerically (as a
7 // vector of numbers corresponding to each of the aggregating buckets). 7 // vector of numbers corresponding to each of the aggregating buckets).
8 8
9 // It supports calls to accumulate either time intervals (which are processed 9 // It supports calls to accumulate either time intervals (which are processed
10 // as integral number of milliseconds), or arbitrary integral units. 10 // as integral number of milliseconds), or arbitrary integral units.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "base/atomicops.h" 70 #include "base/atomicops.h"
71 #include "base/base_export.h" 71 #include "base/base_export.h"
72 #include "base/basictypes.h" 72 #include "base/basictypes.h"
73 #include "base/compiler_specific.h" 73 #include "base/compiler_specific.h"
74 #include "base/gtest_prod_util.h" 74 #include "base/gtest_prod_util.h"
75 #include "base/logging.h" 75 #include "base/logging.h"
76 #include "base/memory/scoped_ptr.h" 76 #include "base/memory/scoped_ptr.h"
77 #include "base/metrics/bucket_ranges.h" 77 #include "base/metrics/bucket_ranges.h"
78 #include "base/metrics/histogram_base.h" 78 #include "base/metrics/histogram_base.h"
79 #include "base/metrics/histogram_samples.h" 79 #include "base/metrics/histogram_samples.h"
80 #include "base/time.h" 80 #include "base/time/time.h"
81 81
82 class Pickle; 82 class Pickle;
83 class PickleIterator; 83 class PickleIterator;
84 84
85 namespace base { 85 namespace base {
86 86
87 class Lock; 87 class Lock;
88 //------------------------------------------------------------------------------ 88 //------------------------------------------------------------------------------
89 // Histograms are often put in areas where they are called many many times, and 89 // Histograms are often put in areas where they are called many many times, and
90 // performance is critical. As a result, they are designed to have a very low 90 // performance is critical. As a result, they are designed to have a very low
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges); 666 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges);
667 static BucketRanges* CreateBucketRangesFromCustomRanges( 667 static BucketRanges* CreateBucketRangesFromCustomRanges(
668 const std::vector<Sample>& custom_ranges); 668 const std::vector<Sample>& custom_ranges);
669 669
670 DISALLOW_COPY_AND_ASSIGN(CustomHistogram); 670 DISALLOW_COPY_AND_ASSIGN(CustomHistogram);
671 }; 671 };
672 672
673 } // namespace base 673 } // namespace base
674 674
675 #endif // BASE_METRICS_HISTOGRAM_H_ 675 #endif // BASE_METRICS_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « base/metrics/field_trial.h ('k') | base/metrics/histogram_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698