Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dsparse_histogram.cc35 std::unique_ptr<HistogramBase> tentative_histogram; in FactoryGet() local
38 tentative_histogram = allocator->AllocateHistogram( in FactoryGet()
44 if (!tentative_histogram) { in FactoryGet()
48 tentative_histogram.reset(new SparseHistogram(name)); in FactoryGet()
49 tentative_histogram->SetFlags(flags); in FactoryGet()
56 const void* tentative_histogram_ptr = tentative_histogram.get(); in FactoryGet()
58 tentative_histogram.release()); in FactoryGet()
Dhistogram.cc174 std::unique_ptr<HistogramBase> tentative_histogram; in Build() local
177 tentative_histogram = allocator->AllocateHistogram( in Build()
189 if (!tentative_histogram) { in Build()
193 tentative_histogram = HeapAlloc(registered_ranges); in Build()
194 tentative_histogram->SetFlags(flags_); in Build()
197 FillHistogram(tentative_histogram.get()); in Build()
203 const void* tentative_histogram_ptr = tentative_histogram.get(); in Build()
205 tentative_histogram.release()); in Build()