Searched refs:histogram_data (Results 1 – 2 of 2) sorted by relevance
115 auto histogram_data = histograms_snapshot_.find(name); in GetBucketCountForSamples() local116 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() local174 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() local214 if (histogram_data != histograms_snapshot_.end()) in CheckTotalCount()215 actual_count -= histogram_data->second->TotalCount(); in CheckTotalCount()
330 PersistentHistogramData* histogram_data = in AllocateHistogram() local333 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 …]