Home
last modified time | relevance | path

Searched refs:histogram_data (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/test/metrics/
Dhistogram_tester.cc115 auto histogram_data = histograms_snapshot_.find(name); in GetBucketCountForSamples() local
116 if (histogram_data != histograms_snapshot_.end()) in GetBucketCountForSamples()
117 *count -= histogram_data->second->GetCount(sample); in GetBucketCountForSamples()
173 for (const auto& histogram_data : histograms_snapshot_) { in GetAllHistogramsRecorded() local
174 if (histogram_data.first == histogram->histogram_name()) in GetAllHistogramsRecorded()
175 named_samples->Subtract(*histogram_data.second); in GetAllHistogramsRecorded()
213 auto histogram_data = histograms_snapshot_.find(name); in CheckTotalCount() local
214 if (histogram_data != histograms_snapshot_.end()) in CheckTotalCount()
215 actual_count -= histogram_data->second->TotalCount(); in CheckTotalCount()
/external/cronet/base/test/metrics/
Dhistogram_tester.cc175 auto histogram_data = histograms_snapshot_.find(histogram.histogram_name()); in GetBucketCountForSamples() local
176 if (histogram_data != histograms_snapshot_.end()) { in GetBucketCountForSamples()
177 *count -= histogram_data->second->GetCount(sample); in GetBucketCountForSamples()
179 *total_count -= histogram_data->second->TotalCount(); in GetBucketCountForSamples()
236 for (const auto& histogram_data : histograms_snapshot_) { in GetAllHistogramsRecorded() local
237 if (histogram_data.first == histogram->histogram_name()) in GetAllHistogramsRecorded()
238 named_samples->Subtract(*histogram_data.second); in GetAllHistogramsRecorded()
262 auto histogram_data = histograms_snapshot_.find(histogram.histogram_name()); in GetTotalCountForSamples() local
263 if (histogram_data != histograms_snapshot_.end()) in GetTotalCountForSamples()
264 actual_count -= histogram_data->second->TotalCount(); in GetTotalCountForSamples()
/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.cc330 PersistentHistogramData* histogram_data = in AllocateHistogram() local
333 if (histogram_data) { in AllocateHistogram()
334 memcpy(histogram_data->name, name.c_str(), name.size() + 1); in AllocateHistogram()
335 histogram_data->histogram_type = histogram_type; in AllocateHistogram()
336 histogram_data->flags = flags | HistogramBase::kIsPersistent; in AllocateHistogram()
387 if (ranges_ref && histogram_data) { in AllocateHistogram()
388 histogram_data->minimum = minimum; in AllocateHistogram()
389 histogram_data->maximum = maximum; in AllocateHistogram()
393 histogram_data->bucket_count = static_cast<uint32_t>(bucket_count); in AllocateHistogram()
394 histogram_data->ranges_ref = ranges_ref; in AllocateHistogram()
[all …]
/external/cronet/base/metrics/
Dpersistent_histogram_allocator.cc329 PersistentHistogramData* histogram_data = in AllocateHistogram() local
332 if (histogram_data) { in AllocateHistogram()
333 memcpy(histogram_data->name, name.c_str(), name.size() + 1); in AllocateHistogram()
334 histogram_data->histogram_type = histogram_type; in AllocateHistogram()
335 histogram_data->flags = flags | HistogramBase::kIsPersistent; in AllocateHistogram()
386 if (ranges_ref && histogram_data) { in AllocateHistogram()
387 histogram_data->minimum = minimum; in AllocateHistogram()
388 histogram_data->maximum = maximum; in AllocateHistogram()
392 histogram_data->bucket_count = static_cast<uint32_t>(bucket_count); in AllocateHistogram()
393 histogram_data->ranges_ref = ranges_ref; in AllocateHistogram()
[all …]