HomeSort by relevance Sort by last modified time
    Searched refs:HistogramBase (Results 1 - 25 of 35) sorted by null

1 2

  /external/libchrome/base/metrics/
sample_vector.h 32 HistogramBase::AtomicCount* counts,
39 void Accumulate(HistogramBase::Sample value,
40 HistogramBase::Count count) override;
41 HistogramBase::Count GetCount(HistogramBase::Sample value) const override;
42 HistogramBase::Count TotalCount() const override;
46 HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
53 virtual size_t GetBucketIndex(HistogramBase::Sample value) const;
59 std::vector<HistogramBase::AtomicCount> local_counts_;
64 HistogramBase::AtomicCount* counts_
    [all...]
histogram_flattener.h 24 virtual void RecordDelta(const HistogramBase& histogram,
29 virtual void InconsistencyDetected(HistogramBase::Inconsistency problem) = 0;
34 HistogramBase::Inconsistency problem) = 0;
sample_map.h 30 void Accumulate(HistogramBase::Sample value,
31 HistogramBase::Count count) override;
32 HistogramBase::Count GetCount(HistogramBase::Sample value) const override;
33 HistogramBase::Count TotalCount() const override;
42 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_;
49 typedef std::map<HistogramBase::Sample, HistogramBase::Count>
58 void Get(HistogramBase::Sample* min
    [all...]
histogram_samples.h 47 HistogramBase::AtomicCount redundant_count;
56 virtual void Accumulate(HistogramBase::Sample value,
57 HistogramBase::Count count) = 0;
58 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0;
59 virtual HistogramBase::Count TotalCount() const = 0;
74 HistogramBase::Count redundant_count() const {
84 void IncreaseRedundantCount(HistogramBase::Count diff);
106 virtual void Get(HistogramBase::Sample* min,
107 HistogramBase::Sample* max
    [all...]
histogram_delta_serialization.h 20 class HistogramBase;
42 void RecordDelta(const HistogramBase& histogram,
44 void InconsistencyDetected(HistogramBase::Inconsistency problem) override;
46 HistogramBase::Inconsistency problem) override;
58 HistogramBase* inconsistencies_histogram_;
59 HistogramBase* inconsistencies_unique_histogram_;
60 HistogramBase* inconsistent_snapshot_histogram_;
histogram_base.cc 43 HistogramBase* DeserializeHistogramInfo(PickleIterator* iter) {
64 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX;
66 HistogramBase::HistogramBase(const std::string& name)
70 HistogramBase::~HistogramBase() {}
72 void HistogramBase::CheckName(const StringPiece& name) const {
76 void HistogramBase::SetFlags(int32_t flags) {
77 HistogramBase::Count old_flags = subtle::NoBarrier_Load(&flags_)
    [all...]
histogram_base_unittest.cc 37 HistogramBase* histogram = Histogram::FactoryGet(
39 (HistogramBase::kUmaTargetedHistogramFlag |
40 HistogramBase::kIPCSerializationSourceFlag));
46 HistogramBase* deserialized = DeserializeHistogramInfo(&iter);
59 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, deserialized->flags());
63 HistogramBase* histogram = LinearHistogram::FactoryGet(
65 HistogramBase::kIPCSerializationSourceFlag);
71 HistogramBase* deserialized = DeserializeHistogramInfo(&iter);
86 HistogramBase* histogram = BooleanHistogram::FactoryGet(
87 "TestHistogram", HistogramBase::kIPCSerializationSourceFlag)
    [all...]
histogram_snapshot_manager.cc 26 HistogramBase::Flags flag_to_set,
27 HistogramBase::Flags required_flags) {
39 void HistogramSnapshotManager::PrepareDelta(const HistogramBase& histogram) {
49 if (HistogramBase::BUCKET_ORDER_ERROR & corruption) {
51 CHECK_NE(0, HistogramBase::RANGE_CHECKSUM_ERROR & corruption);
55 CHECK_EQ(0, HistogramBase::RANGE_CHECKSUM_ERROR & corruption);
65 static_cast<HistogramBase::Inconsistency>(corruption));
72 static_cast<HistogramBase::Inconsistency>(corruption));
98 HistogramBase::Count discrepancy =
histogram_snapshot_manager_unittest.cc 22 void RecordDelta(const HistogramBase& histogram,
27 void InconsistencyDetected(HistogramBase::Inconsistency problem) override {
32 HistogramBase::Inconsistency problem) override {
67 histogram_snapshot_manager_.PrepareDeltas(HistogramBase::kNoFlags,
68 HistogramBase::kNoFlags);
83 HistogramBase::kNoFlags, HistogramBase::kUmaTargetedHistogramFlag);
98 HistogramBase::kNoFlags, HistogramBase::kUmaStabilityHistogramFlag);
histogram_unittest.cc 52 HistogramBase* histogram = Histogram::FactoryGet(
53 "TestHistogram", 1, 1000, 10, HistogramBase::kNoFlags);
56 HistogramBase* linear_histogram = LinearHistogram::FactoryGet(
57 "TestLinearHistogram", 1, 1000, 10, HistogramBase::kNoFlags);
63 HistogramBase* custom_histogram = CustomHistogram::FactoryGet(
64 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags);
79 HistogramBase* histogram = LinearHistogram::FactoryGet(
80 "DuplicatedHistogram", 1, 101, 102, HistogramBase::kNoFlags);
97 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges.range(8));
101 Histogram::FactoryGet("Histogram", 1, 64, 8, HistogramBase::kNoFlags))
    [all...]
histogram_snapshot_manager.h 39 void PrepareDeltas(HistogramBase::Flags flags_to_set,
40 HistogramBase::Flags required_flags);
44 void PrepareDelta(const HistogramBase& histogram);
histogram_samples.cc 20 void Get(HistogramBase::Sample* min,
21 HistogramBase::Sample* max,
22 HistogramBase::Count* count) const override;
27 HistogramBase::Sample min_;
28 HistogramBase::Sample max_;
29 HistogramBase::Count count_;
51 void SampleCountPickleIterator::Get(HistogramBase::Sample* min,
52 HistogramBase::Sample* max,
53 HistogramBase::Count* count) const {
94 HistogramBase::Count old_redundant_count
    [all...]
statistics_recorder_unittest.cc 40 HistogramBase::Sample min,
41 HistogramBase::Sample max,
50 void DeleteHistogram(HistogramBase* histogram) {
146 HistogramBase* histogram1 = Histogram::FactoryGet(
147 "TestHistogram1", 1, 1000, 10, HistogramBase::kNoFlags);
148 HistogramBase* histogram2 = Histogram::FactoryGet(
149 "TestHistogram2", 1, 1000, 10, HistogramBase::kNoFlags);
181 HistogramBase* histogram = Histogram::FactoryGet(
182 "TestHistogram", 1, 1000, 10, HistogramBase::kNoFlags);
188 HistogramBase* histogram2 = Histogram::FactoryGet
    [all...]
bucket_ranges.h 35 typedef std::vector<HistogramBase::Sample> Ranges;
41 HistogramBase::Sample range(size_t i) const { return ranges_[i]; }
42 void set_range(size_t i, HistogramBase::Sample value);
sparse_histogram.h 27 base::HistogramBase* histogram = base::SparseHistogram::FactoryGet( \
28 name, base::HistogramBase::kUmaTargetedHistogramFlag); \
34 class BASE_EXPORT SparseHistogram : public HistogramBase {
38 static HistogramBase* FactoryGet(const std::string& name, int32_t flags);
42 // HistogramBase implementation:
57 // HistogramBase implementation:
64 friend BASE_EXPORT HistogramBase* DeserializeHistogramInfo(
66 static HistogramBase* DeserializeInfoImpl(base::PickleIterator* iter);
statistics_recorder.h 34 typedef std::vector<HistogramBase*> Histograms;
46 static HistogramBase* RegisterOrDeleteDuplicate(HistogramBase* histogram);
73 static HistogramBase* FindHistogram(const std::string& name);
81 typedef base::Callback<void(HistogramBase::Sample)> OnSampleCallback;
102 typedef std::map<uint64_t, HistogramBase*> HistogramMap;
histogram.h 14 // (HistogramBase::kSampleType_MAX - 1). Currently you can declare histograms
16 // HistogramBase::kSampleType_MAX as maximal), but those excesses will be
27 // HistogramBase::kSampleType_MAX are implicitly added as first and last ranges,
99 class BASE_EXPORT Histogram : public HistogramBase {
116 static HistogramBase* FactoryGet(const std::string& name,
121 static HistogramBase* FactoryTimeGet(const std::string& name,
130 static HistogramBase* FactoryGet(const char* name,
135 static HistogramBase* FactoryTimeGet(const char* name,
181 // HistogramBase implementation:
205 // HistogramBase implementation
    [all...]
sample_map_unittest.cc 67 HistogramBase::Sample min;
68 HistogramBase::Sample max;
69 HistogramBase::Count count;
111 HistogramBase::Sample min;
112 HistogramBase::Sample max;
113 HistogramBase::Count count;
141 HistogramBase::Sample min;
142 HistogramBase::Sample max;
143 HistogramBase::Count count;
sparse_histogram.cc 18 typedef HistogramBase::Count Count;
19 typedef HistogramBase::Sample Sample;
22 HistogramBase* SparseHistogram::FactoryGet(const std::string& name,
24 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name);
28 HistogramBase* tentative_histogram = new SparseHistogram(name);
105 : HistogramBase(name),
108 HistogramBase* SparseHistogram::DeserializeInfoImpl(PickleIterator* iter) {
116 DCHECK(flags & HistogramBase::kIPCSerializationSourceFlag);
117 flags &= ~HistogramBase::kIPCSerializationSourceFlag;
123 // TODO(kaiwang): Implement. (See HistogramBase::WriteJSON.
    [all...]
histogram_base.h 25 class HistogramBase;
34 // HistogramBase, add new histogram types and names below.
48 BASE_EXPORT HistogramBase* DeserializeHistogramInfo(base::PickleIterator* iter);
52 class BASE_EXPORT HistogramBase {
99 explicit HistogramBase(const std::string& name);
100 virtual ~HistogramBase();
199 DISALLOW_COPY_AND_ASSIGN(HistogramBase);
histogram_macros.h 44 name, min, max, bucket_count, base::HistogramBase::kNoFlags);
75 base::HistogramBase* histogram_pointer( \
76 reinterpret_cast<base::HistogramBase*>( \
102 base::HistogramBase::kNoFlags))
116 base::HistogramBase::kNoFlags))
140 boundary_value + 1, base::HistogramBase::kNoFlags))
150 base::HistogramBase::kNoFlags))
183 base::HistogramBase::kUmaTargetedHistogramFlag))
200 base::HistogramBase::kUmaTargetedHistogramFlag))
217 base::HistogramBase::kUmaTargetedHistogramFlag)
    [all...]
sample_vector.cc 12 typedef HistogramBase::Count Count;
13 typedef HistogramBase::Sample Sample;
28 HistogramBase::AtomicCount* counts,
75 HistogramBase::Sample min;
76 HistogramBase::Sample max;
77 HistogramBase::Count count;
86 HistogramBase::Count old_counts =
132 const std::vector<HistogramBase::AtomicCount>* counts,
143 const HistogramBase::AtomicCount* counts,
166 void SampleVectorIterator::Get(HistogramBase::Sample* min
    [all...]
statistics_recorder.cc 41 HistogramBase* StatisticsRecorder::RegisterOrDeleteDuplicate(
42 HistogramBase* histogram) {
48 HistogramBase* histogram_to_delete = NULL;
49 HistogramBase* histogram_to_return = NULL;
65 histogram->SetFlags(HistogramBase::kCallbackExists);
67 histogram->ClearFlags(HistogramBase::kCallbackExists);
135 for (const HistogramBase* histogram : snapshot) {
153 for (const HistogramBase* histogram : snapshot) {
175 for (const HistogramBase* histogram : snapshot) {
219 HistogramBase* StatisticsRecorder::FindHistogram(const std::string& name)
    [all...]
histogram.cc 57 INT_MAX / sizeof(HistogramBase::Count) <= *bucket_count ||
65 DCHECK(*flags & HistogramBase::kIPCSerializationSourceFlag);
66 *flags &= ~HistogramBase::kIPCSerializationSourceFlag;
71 bool ValidateRangeChecksum(const HistogramBase& histogram,
81 typedef HistogramBase::Count Count;
82 typedef HistogramBase::Sample Sample;
87 HistogramBase* Histogram::FactoryGet(const std::string& name,
96 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name);
126 HistogramBase* Histogram::FactoryTimeGet(const std::string& name,
136 HistogramBase* Histogram::FactoryGet(const char* name
    [all...]
  /system/core/metricsd/uploader/
metrics_log_base.cc 28 using base::HistogramBase;
130 HistogramBase::Sample min;
131 HistogramBase::Sample max;
132 HistogramBase::Count count;

Completed in 961 milliseconds

1 2