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

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

Issue 2699093002: Updating system_wrappers/include/metrics.h docs (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 26 matching lines...) Expand all
37 // - provide implementations of 37 // - provide implementations of
38 // Histogram* webrtc::metrics::HistogramFactoryGetCounts( 38 // Histogram* webrtc::metrics::HistogramFactoryGetCounts(
39 // const std::string& name, int sample, int min, int max, 39 // const std::string& name, int sample, int min, int max,
40 // int bucket_count); 40 // int bucket_count);
41 // Histogram* webrtc::metrics::HistogramFactoryGetEnumeration( 41 // Histogram* webrtc::metrics::HistogramFactoryGetEnumeration(
42 // const std::string& name, int sample, int boundary); 42 // const std::string& name, int sample, int boundary);
43 // void webrtc::metrics::HistogramAdd( 43 // void webrtc::metrics::HistogramAdd(
44 // Histogram* histogram_pointer, const std::string& name, int sample); 44 // Histogram* histogram_pointer, const std::string& name, int sample);
45 // 45 //
46 // - or link with the default implementations (i.e. 46 // - or link with the default implementations (i.e.
47 // system_wrappers/system_wrappers.gyp:metrics_default). 47 // system_wrappers:metrics_default).
48 // 48 //
49 // 49 //
50 // Example usage: 50 // Example usage:
51 // 51 //
52 // RTC_HISTOGRAM_COUNTS("WebRTC.Video.NacksSent", nacks_sent, 1, 100000, 100); 52 // RTC_HISTOGRAM_COUNTS("WebRTC.Video.NacksSent", nacks_sent, 1, 100000, 100);
53 // 53 //
54 // enum Types { 54 // enum Types {
55 // kTypeX, 55 // kTypeX,
56 // kTypeY, 56 // kTypeY,
57 // kBoundary, 57 // kBoundary,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // Returns name of the histogram. 235 // Returns name of the histogram.
236 const std::string& GetHistogramName(Histogram* histogram_pointer); 236 const std::string& GetHistogramName(Histogram* histogram_pointer);
237 237
238 // Function for adding a |sample| to a histogram. 238 // Function for adding a |sample| to a histogram.
239 void HistogramAdd(Histogram* histogram_pointer, int sample); 239 void HistogramAdd(Histogram* histogram_pointer, int sample);
240 240
241 } // namespace metrics 241 } // namespace metrics
242 } // namespace webrtc 242 } // namespace webrtc
243 243
244 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_ 244 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_METRICS_H_
245
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698