/external/libchrome/base/metrics/ |
D | histogram_samples.cc | 78 static_assert(sizeof(HistogramSamples::AtomicSingleSample) == 82 HistogramSamples::SingleSample HistogramSamples::AtomicSingleSample::Load() in Load() 93 HistogramSamples::SingleSample HistogramSamples::AtomicSingleSample::Extract( in Extract() 102 bool HistogramSamples::AtomicSingleSample::Accumulate( in Accumulate() 168 bool HistogramSamples::AtomicSingleSample::IsDisabled() const { in IsDisabled() 172 HistogramSamples::LocalMetadata::LocalMetadata() { in LocalMetadata() 178 HistogramSamples::HistogramSamples(uint64_t id, Metadata* meta) in HistogramSamples() function in base::HistogramSamples 190 HistogramSamples::~HistogramSamples() = default; 192 void HistogramSamples::Add(const HistogramSamples& other) { in Add() 199 bool HistogramSamples::AddFromPickle(PickleIterator* iter) { in AddFromPickle() [all …]
|
D | sparse_histogram.h | 23 class HistogramSamples; variable 39 HistogramSamples::Metadata* meta, 40 HistogramSamples::Metadata* logged_meta); 52 void AddSamples(const HistogramSamples& samples) override; 54 std::unique_ptr<HistogramSamples> SnapshotSamples() const override; 55 std::unique_ptr<HistogramSamples> SnapshotDelta() override; 56 std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const override; 70 HistogramSamples::Metadata* meta, 71 HistogramSamples::Metadata* logged_meta); 100 std::unique_ptr<HistogramSamples> unlogged_samples_; [all …]
|
D | histogram.h | 162 HistogramSamples::Metadata* meta, 163 HistogramSamples::Metadata* logged_meta); 184 uint32_t FindCorruption(const HistogramSamples& samples) const override; 215 std::unique_ptr<HistogramSamples> SnapshotSamples() const override; 216 std::unique_ptr<HistogramSamples> SnapshotDelta() override; 217 std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const override; 218 void AddSamples(const HistogramSamples& samples) override; 254 HistogramSamples::Metadata* meta, 255 HistogramSamples::Metadata* logged_meta); 381 HistogramSamples::Metadata* meta, [all …]
|
D | sparse_histogram_unittest.cc | 95 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() 100 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P() 106 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P() 114 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() 119 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P() 125 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P() 133 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() 138 std::unique_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_P() 144 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P() 155 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_P() [all …]
|
D | dummy_histogram.cc | 36 class DummyHistogramSamples : public HistogramSamples { 38 explicit DummyHistogramSamples() : HistogramSamples(0, new LocalMetadata()) {} in DummyHistogramSamples() 90 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotSamples() const { in SnapshotSamples() 94 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotDelta() { in SnapshotDelta() 98 std::unique_ptr<HistogramSamples> DummyHistogram::SnapshotFinalDelta() const { in SnapshotFinalDelta()
|
D | sparse_histogram.cc | 82 HistogramSamples::Metadata* meta, in PersistentCreate() 83 HistogramSamples::Metadata* logged_meta) { in PersistentCreate() 123 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { in SnapshotSamples() 132 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotDelta() { in SnapshotDelta() 144 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotFinalDelta() const { in SnapshotFinalDelta() 155 void SparseHistogram::AddSamples(const HistogramSamples& samples) { in AddSamples() 187 HistogramSamples::Metadata* meta, in SparseHistogram() 188 HistogramSamples::Metadata* logged_meta) in SparseHistogram() 233 std::unique_ptr<HistogramSamples> snapshot = SnapshotSamples(); in WriteAsciiImpl()
|
D | histogram_base.h | 26 class HistogramSamples; variable 202 virtual void AddSamples(const HistogramSamples& samples) = 0; 212 virtual uint32_t FindCorruption(const HistogramSamples& samples) const; 219 virtual std::unique_ptr<HistogramSamples> SnapshotSamples() const = 0; 224 virtual std::unique_ptr<HistogramSamples> SnapshotDelta() = 0; 233 virtual std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const = 0;
|
D | dummy_histogram.h | 34 void AddSamples(const HistogramSamples& samples) override {} in AddSamples() 36 std::unique_ptr<HistogramSamples> SnapshotSamples() const override; 37 std::unique_ptr<HistogramSamples> SnapshotDelta() override; 38 std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const override;
|
D | histogram_samples.h | 35 class BASE_EXPORT HistogramSamples { 131 HistogramSamples(uint64_t id, Metadata* meta); 132 virtual ~HistogramSamples(); 139 virtual void Add(const HistogramSamples& other); 144 virtual void Subtract(const HistogramSamples& other); 207 DISALLOW_COPY_AND_ASSIGN(HistogramSamples);
|
D | persistent_sample_map_unittest.cc | 34 HistogramSamples::LocalMetadata meta; in TEST() 51 HistogramSamples::LocalMetadata meta; in TEST() 68 HistogramSamples::LocalMetadata meta1; in TEST() 76 HistogramSamples::LocalMetadata meta2; in TEST() 104 HistogramSamples::LocalMetadata meta12; in TEST() 157 HistogramSamples::LocalMetadata meta; in TEST() 195 HistogramSamples::LocalMetadata meta1; in TEST() 205 HistogramSamples::LocalMetadata meta2; in TEST() 240 HistogramSamples::LocalMetadata meta; in TEST()
|
D | histogram.cc | 314 HistogramSamples::Metadata* meta, in PersistentCreate() 315 HistogramSamples::Metadata* logged_meta) { in PersistentCreate() 362 uint32_t Histogram::FindCorruption(const HistogramSamples& samples) const { in FindCorruption() 509 std::unique_ptr<HistogramSamples> Histogram::SnapshotSamples() const { in SnapshotSamples() 513 std::unique_ptr<HistogramSamples> Histogram::SnapshotDelta() { in SnapshotDelta() 530 std::unique_ptr<HistogramSamples> snapshot = SnapshotUnloggedSamples(); in SnapshotDelta() 537 std::unique_ptr<HistogramSamples> Histogram::SnapshotFinalDelta() const { in SnapshotFinalDelta() 546 void Histogram::AddSamples(const HistogramSamples& samples) { in AddSamples() 601 HistogramSamples::Metadata* meta, in Histogram() 602 HistogramSamples::Metadata* logged_meta) in Histogram() [all …]
|
D | histogram_flattener.h | 16 class HistogramSamples; variable 23 const HistogramSamples& snapshot) = 0;
|
D | histogram_snapshot_manager.h | 21 class HistogramSamples; variable 69 std::unique_ptr<HistogramSamples> samples);
|
D | histogram_delta_serialization_unittest.cc | 38 std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST() 48 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST()
|
D | histogram_base_unittest.cc | 167 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F() 182 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F() 209 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F() 254 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F()
|
D | histogram_samples_unittest.cc | 14 using SingleSample = HistogramSamples::SingleSample; 15 using AtomicSingleSample = HistogramSamples::AtomicSingleSample;
|
D | sample_vector.cc | 29 : HistogramSamples(id, meta), bucket_ranges_(bucket_ranges) { in SampleVectorBase() 129 HistogramSamples::Operator op) { in AddSubtractImpl() 169 dest_index, op == HistogramSamples::ADD ? count : -count)) { in AddSubtractImpl() 195 &counts()[dest_index], op == HistogramSamples::ADD ? count : -count); in AddSubtractImpl()
|
D | histogram_unittest.cc | 165 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P() 179 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotDelta(); in TEST_P() 208 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotDelta(); in TEST_P() 385 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P() 393 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() 408 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P() 416 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() 437 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotDelta(); in TEST_P() 549 std::unique_ptr<HistogramSamples> snapshot = histogram->SnapshotSamples(); in TEST_P()
|
D | sample_map.cc | 82 SampleMap::SampleMap(uint64_t id) : HistogramSamples(id, new LocalMetadata()) {} in SampleMap() 121 sample_counts_[min] += (op == HistogramSamples::ADD) ? count : -count; in AddSubtractImpl()
|
D | sample_vector.h | 30 class BASE_EXPORT SampleVectorBase : public HistogramSamples { 53 HistogramSamples::Operator op) override; // |op| is ADD or SUBTRACT.
|
D | histogram_delta_serialization.h | 46 const HistogramSamples& snapshot) override;
|
D | sample_map.h | 25 class BASE_EXPORT SampleMap : public HistogramSamples {
|
/external/libchrome/base/test/metrics/ |
D | histogram_tester.cc | 41 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in ExpectUniqueSample() 56 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in ExpectBucketCount() 65 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in ExpectTotalCount() 82 std::unique_ptr<HistogramSamples> snapshot = in GetAllSamples() 103 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in GetBucketCount() 112 const HistogramSamples& samples, in GetBucketCountForSamples() 134 std::unique_ptr<HistogramSamples> new_samples = in GetTotalCountsForPrefix() 144 std::unique_ptr<HistogramSamples> 155 return std::unique_ptr<HistogramSamples>( in GetHistogramSamplesSinceCreation() 158 std::unique_ptr<HistogramSamples> named_samples = in GetHistogramSamplesSinceCreation() [all …]
|
D | histogram_tester.h | 23 class HistogramSamples; variable 126 std::unique_ptr<HistogramSamples> GetHistogramSamplesSinceCreation( 141 const HistogramSamples& samples) const; 148 const HistogramSamples& samples) const; 155 const HistogramSamples& samples, 160 std::map<std::string, std::unique_ptr<HistogramSamples>> histograms_snapshot_;
|
D | histogram_tester_unittest.cc | 45 std::unique_ptr<HistogramSamples> samples( in TEST_F() 59 std::unique_ptr<HistogramSamples> samples( in TEST_F()
|