Home
last modified time | relevance | path

Searched refs:SampleMap (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/metrics/
Dsample_map.cc14 SampleMap::SampleMap() : SampleMap(0) {} in SampleMap() function in base::SampleMap
16 SampleMap::SampleMap(uint64_t id) : HistogramSamples(id) {} in SampleMap() function in base::SampleMap
18 SampleMap::~SampleMap() {} in ~SampleMap()
20 void SampleMap::Accumulate(Sample value, Count count) { in Accumulate()
26 Count SampleMap::GetCount(Sample value) const { in GetCount()
33 Count SampleMap::TotalCount() const { in TotalCount()
41 scoped_ptr<SampleCountIterator> SampleMap::Iterator() const { in Iterator()
45 bool SampleMap::AddSubtractImpl(SampleCountIterator* iter, in AddSubtractImpl()
Dsample_map.h23 class BASE_EXPORT SampleMap : public HistogramSamples {
25 SampleMap();
26 explicit SampleMap(uint64_t id);
27 ~SampleMap() override;
44 DISALLOW_COPY_AND_ASSIGN(SampleMap);
Dsample_map_unittest.cc14 SampleMap samples(1); in TEST()
28 SampleMap samples1(1); in TEST()
29 SampleMap samples2(2); in TEST()
59 SampleMap samples(1); in TEST()
94 SampleMap samples(1); in TEST()
101 SampleMap samples2(2); in TEST()
135 SampleMap samples(1); in TEST()
Dsparse_histogram.cc73 scoped_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotSamples()
Dsparse_histogram.h88 SampleMap samples_;