Home
last modified time | relevance | path

Searched refs:tentative_histogram (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/metrics/
Dsparse_histogram.cc42 std::unique_ptr<HistogramBase> tentative_histogram; in FactoryGet() local
45 tentative_histogram = allocator->AllocateHistogram( in FactoryGet()
51 if (!tentative_histogram) { in FactoryGet()
55 tentative_histogram.reset(new SparseHistogram(GetPermanentName(name))); in FactoryGet()
56 tentative_histogram->SetFlags(flags); in FactoryGet()
63 const void* tentative_histogram_ptr = tentative_histogram.get(); in FactoryGet()
65 tentative_histogram.release()); in FactoryGet()
Dhistogram.cc192 std::unique_ptr<HistogramBase> tentative_histogram; in Build() local
195 tentative_histogram = allocator->AllocateHistogram( in Build()
207 if (!tentative_histogram) { in Build()
211 tentative_histogram = HeapAlloc(registered_ranges); in Build()
212 tentative_histogram->SetFlags(flags_); in Build()
215 FillHistogram(tentative_histogram.get()); in Build()
221 const void* tentative_histogram_ptr = tentative_histogram.get(); in Build()
223 tentative_histogram.release()); in Build()