/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 79 HistogramSamples::~HistogramSamples() {} in ~HistogramSamples() 91 void HistogramSamples::Add(const HistogramSamples& other) { in Add() 102 bool HistogramSamples::AddFromPickle(PickleIterator* iter) { in AddFromPickle() 120 void HistogramSamples::Subtract(const HistogramSamples& other) { in Subtract() 131 bool HistogramSamples::Serialize(Pickle* pickle) const { in Serialize() 152 void HistogramSamples::IncreaseSum(int64_t diff) { in IncreaseSum() 156 void HistogramSamples::IncreaseRedundantCount(HistogramBase::Count diff) { in IncreaseRedundantCount()
|
D | histogram_samples.h | 23 class BASE_EXPORT HistogramSamples { 52 explicit HistogramSamples(uint64_t id); 53 HistogramSamples(uint64_t id, Metadata* meta); 54 virtual ~HistogramSamples(); 61 virtual void Add(const HistogramSamples& other); 66 virtual void Subtract(const HistogramSamples& other); 93 DISALLOW_COPY_AND_ASSIGN(HistogramSamples);
|
D | sparse_histogram_unittest.cc | 48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F() 53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F() 59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F() 67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); in TEST_F() 72 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); in TEST_F() 78 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_F() 100 scoped_ptr<HistogramSamples> samples = sparse_histogram->SnapshotSamples(); in TEST_F()
|
D | histogram_snapshot_manager.h | 18 class HistogramSamples; variable 48 const HistogramSamples& new_snapshot, 49 HistogramSamples* logged_samples); 54 std::map<uint64_t, HistogramSamples*> logged_samples_;
|
D | histogram_snapshot_manager.cc | 43 scoped_ptr<HistogramSamples> snapshot(histogram.SnapshotSamples()); in PrepareDelta() 76 HistogramSamples* to_log; in PrepareDelta() 84 HistogramSamples* already_logged = it->second; in PrepareDelta() 96 const HistogramSamples& new_snapshot, in InspectLoggedSamplesInconsistency() 97 HistogramSamples* logged_samples) { in InspectLoggedSamplesInconsistency()
|
D | histogram_base.h | 26 class HistogramSamples; variable 138 virtual void AddSamples(const HistogramSamples& samples) = 0; 148 virtual int FindCorruption(const HistogramSamples& samples) const; 152 virtual scoped_ptr<HistogramSamples> SnapshotSamples() const = 0;
|
D | sparse_histogram.h | 32 class HistogramSamples; variable 50 void AddSamples(const HistogramSamples& samples) override; 52 scoped_ptr<HistogramSamples> SnapshotSamples() const override;
|
D | sample_map.cc | 16 SampleMap::SampleMap(uint64_t id) : HistogramSamples(id) {} in SampleMap() 46 HistogramSamples::Operator op) { in AddSubtractImpl() 55 sample_counts_[min] += (op == HistogramSamples::ADD) ? count : -count; in AddSubtractImpl()
|
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() 74 HistogramSamples::Operator op) { in AddSubtractImpl() 89 old_counts + ((op == HistogramSamples::ADD) ? count : -count)); in AddSubtractImpl()
|
D | sample_map.h | 23 class BASE_EXPORT SampleMap : public HistogramSamples { 39 HistogramSamples::Operator op) override; // |op| is ADD or SUBTRACT.
|
D | sparse_histogram.cc | 72 scoped_ptr<HistogramSamples> SparseHistogram::SnapshotSamples() const { in SnapshotSamples() 80 void SparseHistogram::AddSamples(const HistogramSamples& samples) { in AddSamples() 136 scoped_ptr<HistogramSamples> snapshot = SnapshotSamples(); in WriteAsciiImpl()
|
D | sample_vector.h | 27 class BASE_EXPORT SampleVector : public HistogramSamples { 51 HistogramSamples::Operator op) override; // |op| is ADD or SUBTRACT.
|
D | histogram.h | 159 int FindCorruption(const HistogramSamples& samples) const override; 189 scoped_ptr<HistogramSamples> SnapshotSamples() const override; 190 void AddSamples(const HistogramSamples& samples) override;
|
D | histogram_delta_serialization.h | 43 const HistogramSamples& snapshot) override;
|
D | histogram_snapshot_manager_unittest.cc | 23 const HistogramSamples& snapshot) override { in RecordDelta()
|
D | histogram_base.cc | 100 int HistogramBase::FindCorruption(const HistogramSamples& /* samples */) const { in FindCorruption()
|
D | histogram.cc | 195 int Histogram::FindCorruption(const HistogramSamples& samples) const { in FindCorruption() 301 scoped_ptr<HistogramSamples> Histogram::SnapshotSamples() const { in SnapshotSamples() 305 void Histogram::AddSamples(const HistogramSamples& samples) { in AddSamples()
|
D | histogram_unittest.cc | 82 scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); in TEST_F()
|