Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dsample_map.cc80 SampleMap::SampleMap() : SampleMap(0) {} in SampleMap() function in base::SampleMap
82 SampleMap::SampleMap(uint64_t id) : HistogramSamples(id, new LocalMetadata()) {} in SampleMap() function in base::SampleMap
84 SampleMap::~SampleMap() { in ~SampleMap()
88 void SampleMap::Accumulate(Sample value, Count count) { in Accumulate()
93 Count SampleMap::GetCount(Sample value) const { in GetCount()
100 Count SampleMap::TotalCount() const { in TotalCount()
108 std::unique_ptr<SampleCountIterator> SampleMap::Iterator() const { in Iterator()
112 bool SampleMap::AddSubtractImpl(SampleCountIterator* iter, Operator op) { in AddSubtractImpl()
Dsample_map.h25 class BASE_EXPORT SampleMap : public HistogramSamples {
27 SampleMap();
28 explicit SampleMap(uint64_t id);
29 ~SampleMap() override;
45 DISALLOW_COPY_AND_ASSIGN(SampleMap);
Dsample_map_unittest.cc16 SampleMap samples(1); in TEST()
30 SampleMap samples(1); in TEST()
44 SampleMap samples1(1); in TEST()
45 SampleMap samples2(2); in TEST()
75 SampleMap samples(1); in TEST()
110 SampleMap samples(1); in TEST()
117 SampleMap samples2(2); in TEST()
149 SampleMap samples(1); in TEST()
Dsparse_histogram.cc124 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotSamples()
135 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotDelta()
148 std::unique_ptr<SampleMap> snapshot(new SampleMap(name_hash())); in SnapshotFinalDelta()
182 unlogged_samples_(new SampleMap(HashMetricName(name))), in SparseHistogram()
183 logged_samples_(new SampleMap(unlogged_samples_->id())) {} in SparseHistogram()
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc156 new SampleMap(HashMetricName(histogram_name))); in GetHistogramSamplesSinceCreation()
/external/perf_data_converter/src/
Dperf_data_converter.cc150 SampleKeyHasher, SampleKeyEqualityTester> SampleMap; typedef
272 SampleMap sample_map;