Lines Matching defs:StatisticsRecorder
5 // StatisticsRecorder holds all Histograms and BucketRanges that are used by
43 // StatisticsRecorder doesn't have any public constructor. For testing purpose,
48 class BASE_EXPORT StatisticsRecorder {
50 // An interface class that allows the StatisticsRecorder to forcibly merge
70 ~StatisticsRecorder();
115 // Ownership of the individual histograms remains with the StatisticsRecorder.
188 // Creates a temporary StatisticsRecorder object for testing purposes. All new
190 // for the lifetime of yet another StatisticsRecorder object. The destruction
192 // StatisticsRecorder objects must be deleted in the opposite order to which
196 static std::unique_ptr<StatisticsRecorder> CreateTemporaryForTesting()
265 // Constructs a new StatisticsRecorder and sets it as the current global
269 StatisticsRecorder();
272 // StatisticsRecorder by itself if needed (it isn't in unit tests).
284 StatisticsRecorder* previous_ = nullptr;
292 static StatisticsRecorder* top_;
298 DISALLOW_COPY_AND_ASSIGN(StatisticsRecorder);