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

Side by Side Diff: webrtc/system_wrappers/include/metrics.h

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 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
OLDNEW
1 // 1 //
2 // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 // 3 //
4 // Use of this source code is governed by a BSD-style license 4 // Use of this source code is governed by a BSD-style license
5 // that can be found in the LICENSE file in the root of the source 5 // that can be found in the LICENSE file in the root of the source
6 // tree. An additional intellectual property rights grant can be found 6 // tree. An additional intellectual property rights grant can be found
7 // in the file PATENTS. All contributing project authors may 7 // in the file PATENTS. All contributing project authors may
8 // be found in the AUTHORS file in the root of the source tree. 8 // be found in the AUTHORS file in the root of the source tree.
9 // 9 //
10 10
11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_ 11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_
12 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_ 12 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "webrtc/base/atomicops.h"
17 #include "webrtc/base/checks.h"
18 #include "webrtc/common_types.h" 16 #include "webrtc/common_types.h"
17 #include "webrtc/rtc_base/atomicops.h"
18 #include "webrtc/rtc_base/checks.h"
19 19
20 // Macros for allowing WebRTC clients (e.g. Chrome) to gather and aggregate 20 // Macros for allowing WebRTC clients (e.g. Chrome) to gather and aggregate
21 // statistics. 21 // statistics.
22 // 22 //
23 // Histogram for counters. 23 // Histogram for counters.
24 // RTC_HISTOGRAM_COUNTS(name, sample, min, max, bucket_count); 24 // RTC_HISTOGRAM_COUNTS(name, sample, min, max, bucket_count);
25 // 25 //
26 // Histogram for enumerators. 26 // Histogram for enumerators.
27 // The boundary should be above the max enumerator sample. 27 // The boundary should be above the max enumerator sample.
28 // RTC_HISTOGRAM_ENUMERATION(name, sample, boundary); 28 // RTC_HISTOGRAM_ENUMERATION(name, sample, boundary);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Returns name of the histogram. 234 // Returns name of the histogram.
235 const std::string& GetHistogramName(Histogram* histogram_pointer); 235 const std::string& GetHistogramName(Histogram* histogram_pointer);
236 236
237 // Function for adding a |sample| to a histogram. 237 // Function for adding a |sample| to a histogram.
238 void HistogramAdd(Histogram* histogram_pointer, int sample); 238 void HistogramAdd(Histogram* histogram_pointer, int sample);
239 239
240 } // namespace metrics 240 } // namespace metrics
241 } // namespace webrtc 241 } // namespace webrtc
242 242
243 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_ 243 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/include/file_wrapper.h ('k') | webrtc/system_wrappers/include/rw_lock_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698