Home
last modified time | relevance | path

Searched refs:AtomicCount (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/metrics/
Dsample_vector.h74 HistogramBase::AtomicCount* counts() { in counts()
75 return reinterpret_cast<HistogramBase::AtomicCount*>( in counts()
79 const HistogramBase::AtomicCount* counts() const { in counts()
80 return reinterpret_cast<HistogramBase::AtomicCount*>( in counts()
84 void set_counts(const HistogramBase::AtomicCount* counts) const { in set_counts()
127 mutable std::vector<HistogramBase::AtomicCount> local_counts_;
156 SampleVectorIterator(const std::vector<HistogramBase::AtomicCount>* counts,
158 SampleVectorIterator(const HistogramBase::AtomicCount* counts,
176 const HistogramBase::AtomicCount* counts_;
Dsample_vector.cc82 const HistogramBase::AtomicCount* counts_array = counts(); in TotalCount()
300 HistogramBase::AtomicCount* SampleVector::CreateCountsStorageWhileLocked() { in CreateCountsStorageWhileLocked()
344 static_cast<HistogramBase::AtomicCount*>(persistent_counts_.Get())); in MountExistingCountsStorage()
350 HistogramBase::AtomicCount*
358 return new HistogramBase::AtomicCount[counts_size()]; in CreateCountsStorageWhileLocked()
361 return static_cast<HistogramBase::AtomicCount*>(mem); in CreateCountsStorageWhileLocked()
365 const std::vector<HistogramBase::AtomicCount>* counts, in SampleVectorIterator()
376 const HistogramBase::AtomicCount* counts, in SampleVectorIterator()
Dhistogram_base.h99 typedef subtle::Atomic32 AtomicCount; // Used to count samples. typedef
300 AtomicCount flags_;
Dhistogram.h460 using AtomicCount = Histogram::AtomicCount; variable
494 std::vector<AtomicCount> remainders_;
Dsample_vector_unittest.cc26 const HistogramBase::AtomicCount* GetSamplesCounts( in GetSamplesCounts()
387 sizeof(HistogramBase::AtomicCount) * ranges.bucket_count(); in TEST_F()
480 sizeof(HistogramBase::AtomicCount) * ranges.bucket_count(); in TEST_F()
Dhistogram_samples.h116 HistogramBase::AtomicCount redundant_count;
Dpersistent_histogram_allocator.cc84 const size_t kBytesPerBucket = 2 * sizeof(HistogramBase::AtomicCount); in CalculateRequiredCountsBytes()