Lines Matching refs:HistogramBase
55 HistogramBase::Sample* ranges_data, in CreateRangesFromData()
79 const size_t kBytesPerBucket = 2 * sizeof(HistogramBase::AtomicCount); in CalculateRequiredCountsBytes()
218 HistogramBase::Sample value) { in CreateNew()
248 std::unique_ptr<HistogramBase>
266 std::unique_ptr<HistogramBase> PersistentHistogramAllocator::GetHistogram( in GetHistogram()
286 std::unique_ptr<HistogramBase> PersistentHistogramAllocator::AllocateHistogram( in AllocateHistogram()
316 histogram_data->flags = flags | HistogramBase::kIsPersistent; in AllocateHistogram()
329 size_t ranges_bytes = (bucket_count + 1) * sizeof(HistogramBase::Sample); in AllocateHistogram()
334 HistogramBase::Sample* ranges_data = in AllocateHistogram()
335 memory_allocator_->GetAsObject<HistogramBase::Sample>( in AllocateHistogram()
366 std::unique_ptr<HistogramBase> histogram = CreateHistogram(histogram_data); in AllocateHistogram()
408 HistogramBase* histogram) { in MergeHistogramDeltaToStatisticsRecorder()
411 HistogramBase* existing = GetOrCreateStatisticsRecorderHistogram(histogram); in MergeHistogramDeltaToStatisticsRecorder()
427 const HistogramBase* histogram) { in MergeHistogramFinalDeltaToStatisticsRecorder()
430 HistogramBase* existing = GetOrCreateStatisticsRecorderHistogram(histogram); in MergeHistogramFinalDeltaToStatisticsRecorder()
461 HistogramBase*
468 HistogramBase* histogram_pointer = in GetCreateHistogramResultHistogram()
469 reinterpret_cast<HistogramBase*>( in GetCreateHistogramResultHistogram()
493 HistogramBase::kUmaTargetedHistogramFlag); in GetCreateHistogramResultHistogram()
502 std::unique_ptr<HistogramBase> PersistentHistogramAllocator::CreateHistogram( in CreateHistogram()
512 std::unique_ptr<HistogramBase> histogram = in CreateHistogram()
529 HistogramBase::Sample* ranges_data = in CreateHistogram()
530 memory_allocator_->GetAsObject<HistogramBase::Sample>( in CreateHistogram()
534 std::numeric_limits<uint32_t>::max() / sizeof(HistogramBase::Sample); in CreateHistogram()
536 (histogram_data.bucket_count + 1) * sizeof(HistogramBase::Sample); in CreateHistogram()
559 HistogramBase::AtomicCount* counts_data = in CreateHistogram()
560 memory_allocator_->GetAsObject<HistogramBase::AtomicCount>( in CreateHistogram()
575 HistogramBase::AtomicCount* logged_data = in CreateHistogram()
579 std::unique_ptr<HistogramBase> histogram; in CreateHistogram()
626 HistogramBase*
628 const HistogramBase* histogram) { in GetOrCreateStatisticsRecorderHistogram()
634 HistogramBase* existing = in GetOrCreateStatisticsRecorderHistogram()
651 DCHECK_EQ(0, existing->flags() & HistogramBase::kIPCSerializationSourceFlag); in GetOrCreateStatisticsRecorderHistogram()
659 HistogramBase* result_histogram = GetCreateHistogramResultHistogram(); in RecordCreateHistogramResult()
858 std::unique_ptr<HistogramBase> histogram = in ImportHistogramsToStatisticsRecorder()