Index: trunk/src/base/metrics/statistics_recorder.h |
=================================================================== |
--- trunk/src/base/metrics/statistics_recorder.h (revision 242174) |
+++ trunk/src/base/metrics/statistics_recorder.h (working copy) |
@@ -70,9 +70,9 @@ |
static HistogramBase* FindHistogram(const std::string& name); |
// GetSnapshot copies some of the pointers to registered histograms into the |
- // caller supplied vector (Histograms). Only histograms which have |query| as |
- // a substring are copied (an empty string will process all registered |
- // histograms). |
+ // caller supplied vector (Histograms). Only histograms with names matching |
+ // query are returned. The query must be a substring of histogram name for its |
+ // pointer to be copied. |
static void GetSnapshot(const std::string& query, Histograms* snapshot); |
private: |