/external/libchrome/base/metrics/ |
D | histogram_samples.cc | 68 HistogramSamples::HistogramSamples(uint64_t id) in HistogramSamples() function in base::HistogramSamples 73 HistogramSamples::HistogramSamples(uint64_t id, Metadata* meta) in HistogramSamples() function in base::HistogramSamples 83 HistogramSamples::~HistogramSamples() {} in ~HistogramSamples() 85 void HistogramSamples::Add(const HistogramSamples& other) { in Add() 93 bool HistogramSamples::AddFromPickle(PickleIterator* iter) { in AddFromPickle() 108 void HistogramSamples::Subtract(const HistogramSamples& other) { in Subtract() 116 bool HistogramSamples::Serialize(Pickle* pickle) const { in Serialize() 136 void HistogramSamples::IncreaseSum(int64_t diff) { in IncreaseSum() 144 void HistogramSamples::IncreaseRedundantCount(HistogramBase::Count diff) { in IncreaseRedundantCount()
|
D | sparse_histogram.h | 53 class HistogramSamples; variable 67 HistogramSamples::Metadata* meta, 68 HistogramSamples::Metadata* logged_meta); 80 void AddSamples(const HistogramSamples& samples) override; 82 std::unique_ptr<HistogramSamples> SnapshotSamples() const override; 83 std::unique_ptr<HistogramSamples> SnapshotDelta() override; 84 std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const override; 98 HistogramSamples::Metadata* meta, 99 HistogramSamples::Metadata* logged_meta); 128 std::unique_ptr<HistogramSamples> samples_; [all …]
|
D | histogram.h | 153 HistogramSamples::Metadata* meta, 154 HistogramSamples::Metadata* logged_meta); 175 uint32_t FindCorruption(const HistogramSamples& samples) const override; 205 std::unique_ptr<HistogramSamples> SnapshotSamples() const override; 206 std::unique_ptr<HistogramSamples> SnapshotDelta() override; 207 std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const override; 208 void AddSamples(const HistogramSamples& samples) override; 241 HistogramSamples::Metadata* meta, 242 HistogramSamples::Metadata* logged_meta); 315 std::unique_ptr<HistogramSamples> logged_samples_; [all …]
|
D | histogram_samples.h | 27 class BASE_EXPORT HistogramSamples { 61 explicit HistogramSamples(uint64_t id); 62 HistogramSamples(uint64_t id, Metadata* meta); 63 virtual ~HistogramSamples(); 70 virtual void Add(const HistogramSamples& other); 75 virtual void Subtract(const HistogramSamples& other); 108 DISALLOW_COPY_AND_ASSIGN(HistogramSamples);
|
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() 170 std::unique_ptr<HistogramSamples> samples = in TEST_P() [all …]
|
D | sparse_histogram.cc | 79 HistogramSamples::Metadata* meta, in PersistentCreate() 80 HistogramSamples::Metadata* logged_meta) { in PersistentCreate() 120 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { in SnapshotSamples() 128 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotDelta() { in SnapshotDelta() 141 std::unique_ptr<HistogramSamples> SparseHistogram::SnapshotFinalDelta() const { in SnapshotFinalDelta() 154 void SparseHistogram::AddSamples(const HistogramSamples& samples) { in AddSamples() 185 HistogramSamples::Metadata* meta, in SparseHistogram() 186 HistogramSamples::Metadata* logged_meta) in SparseHistogram() 230 std::unique_ptr<HistogramSamples> snapshot = SnapshotSamples(); in WriteAsciiImpl()
|
D | histogram_base.h | 27 class HistogramSamples; variable 180 virtual void AddSamples(const HistogramSamples& samples) = 0; 190 virtual uint32_t FindCorruption(const HistogramSamples& samples) const; 194 virtual std::unique_ptr<HistogramSamples> SnapshotSamples() const = 0; 199 virtual std::unique_ptr<HistogramSamples> SnapshotDelta() = 0; 208 virtual std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const = 0;
|
D | histogram_snapshot_manager.h | 20 class HistogramSamples; variable 76 std::unique_ptr<HistogramSamples> samples); 80 const HistogramSamples& new_snapshot, 81 HistogramSamples* logged_samples);
|
D | persistent_sample_map_unittest.cc | 33 HistogramSamples::Metadata meta; in TEST() 50 HistogramSamples::Metadata meta; in TEST() 67 HistogramSamples::Metadata meta1; in TEST() 75 HistogramSamples::Metadata meta2; in TEST() 103 HistogramSamples::Metadata meta12; in TEST() 156 HistogramSamples::Metadata meta; in TEST() 194 HistogramSamples::Metadata meta1; in TEST() 204 HistogramSamples::Metadata meta2; in TEST() 241 HistogramSamples::Metadata meta; in TEST()
|
D | histogram.cc | 282 HistogramSamples::Metadata* meta, in PersistentCreate() 283 HistogramSamples::Metadata* logged_meta) { in PersistentCreate() 331 uint32_t Histogram::FindCorruption(const HistogramSamples& samples) const { in FindCorruption() 437 std::unique_ptr<HistogramSamples> Histogram::SnapshotSamples() const { in SnapshotSamples() 441 std::unique_ptr<HistogramSamples> Histogram::SnapshotDelta() { in SnapshotDelta() 444 std::unique_ptr<HistogramSamples> snapshot = SnapshotSampleVector(); in SnapshotDelta() 458 std::unique_ptr<HistogramSamples> Histogram::SnapshotFinalDelta() const { in SnapshotFinalDelta() 462 std::unique_ptr<HistogramSamples> snapshot = SnapshotSampleVector(); in SnapshotFinalDelta() 470 void Histogram::AddSamples(const HistogramSamples& samples) { in AddSamples() 519 HistogramSamples::Metadata* meta, in Histogram() [all …]
|
D | histogram_snapshot_manager.cc | 37 std::unique_ptr<HistogramSamples> samples) { in PrepareSamples() 93 const HistogramSamples& new_snapshot, in InspectLoggedSamplesInconsistency() 94 HistogramSamples* logged_samples) { in InspectLoggedSamplesInconsistency()
|
D | histogram_flattener.h | 16 class HistogramSamples; variable 25 const HistogramSamples& snapshot) = 0;
|
D | sample_vector.cc | 19 : HistogramSamples(id), in SampleVector() 32 : HistogramSamples(id, meta), in SampleVector() 73 HistogramSamples::Operator op) { in AddSubtractImpl() 86 &counts_[index], op == HistogramSamples::ADD ? count : -count); in AddSubtractImpl()
|
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_unittest.cc | 145 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P() 159 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotDelta(); in TEST_P() 188 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotDelta(); in TEST_P() 365 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P() 373 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() 388 std::unique_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_P() 396 std::unique_ptr<HistogramSamples> samples2 = histogram->SnapshotSamples(); in TEST_P() 509 std::unique_ptr<HistogramSamples> snapshot = histogram->SnapshotSamples(); in TEST_P()
|
D | sample_vector.h | 27 class BASE_EXPORT SampleVector : public HistogramSamples { 51 HistogramSamples::Operator op) override; // |op| is ADD or SUBTRACT.
|
D | sample_map.cc | 81 SampleMap::SampleMap(uint64_t id) : HistogramSamples(id) {} in SampleMap() 119 sample_counts_[min] += (op == HistogramSamples::ADD) ? count : -count; in AddSubtractImpl()
|
D | sample_map.h | 25 class BASE_EXPORT SampleMap : public HistogramSamples {
|
D | persistent_sample_map.cc | 99 : HistogramSamples(id, meta), allocator_(allocator) {} in PersistentSampleMap() 190 (op == HistogramSamples::ADD) ? count : -count; in AddSubtractImpl()
|
D | histogram_delta_serialization.h | 46 const HistogramSamples& snapshot) override;
|
D | persistent_sample_map.h | 31 class BASE_EXPORT PersistentSampleMap : public HistogramSamples {
|
D | histogram_delta_serialization.cc | 91 const HistogramSamples& snapshot) { in RecordDelta()
|
D | histogram_snapshot_manager_unittest.cc | 25 const HistogramSamples& snapshot) override { in RecordDelta()
|
D | histogram_base.cc | 101 const HistogramSamples& /*samples*/) const { in FindCorruption()
|
D | persistent_histogram_allocator_unittest.cc | 201 std::unique_ptr<HistogramSamples> snapshot = found->SnapshotSamples(); in TEST_F()
|