Lines Matching refs:allocator
29 // Try to create the histogram using a "persistent" allocator. As of
31 // that is off by default. If the allocator doesn't exist or if
36 PersistentHistogramAllocator* allocator = GlobalHistogramAllocator::Get();
37 if (allocator) {
38 tentative_histogram = allocator->AllocateHistogram(
42 // Handle the case where no persistent allocator is present or the
46 DCHECK(!allocator); // Shouldn't have failed.
62 allocator->FinalizeHistogram(histogram_ref,
77 PersistentHistogramAllocator* allocator,
82 new SparseHistogram(allocator, name, meta, logged_meta));
183 SparseHistogram::SparseHistogram(PersistentHistogramAllocator* allocator,
198 samples_(new PersistentSampleMap(HashMetricName(name), allocator, meta)),
200 new PersistentSampleMap(samples_->id() + 1, allocator, logged_meta)) {