Searched refs:histogram_data (Results 1 – 4 of 4) 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()
175 auto histogram_data = histograms_snapshot_.find(histogram.histogram_name()); in GetBucketCountForSamples() local176 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() local237 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() local263 if (histogram_data != histograms_snapshot_.end()) in GetTotalCountForSamples()264 actual_count -= histogram_data->second->TotalCount(); in GetTotalCountForSamples()
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 …]
329 PersistentHistogramData* histogram_data = in AllocateHistogram() local332 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 …]