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

1 2 3

  /external/libchrome/base/metrics/
sample_map.h 32 void Accumulate(HistogramBase::Sample value,
33 HistogramBase::Count count) override;
34 HistogramBase::Count GetCount(HistogramBase::Sample value) const override;
35 HistogramBase::Count TotalCount() const override;
43 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_;
persistent_sample_map.h 41 void Accumulate(HistogramBase::Sample value,
42 HistogramBase::Count count) override;
43 HistogramBase::Count GetCount(HistogramBase::Sample value) const override;
44 HistogramBase::Count TotalCount() const override;
59 HistogramBase::Sample value);
67 HistogramBase::Count* GetSampleCountStorage(HistogramBase::Sample value);
71 HistogramBase::Count* GetOrCreateSampleCountStorage(
72 HistogramBase::Sample value)
    [all...]
sample_vector.h 38 void Accumulate(HistogramBase::Sample value,
39 HistogramBase::Count count) override;
40 HistogramBase::Count GetCount(HistogramBase::Sample value) const override;
41 HistogramBase::Count TotalCount() const override;
45 HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
55 virtual size_t GetBucketIndex(HistogramBase::Sample value) const;
72 virtual HistogramBase::Count* CreateCountsStorageWhileLocked() = 0;
74 HistogramBase::AtomicCount* counts() {
75 return reinterpret_cast<HistogramBase::AtomicCount*>
    [all...]
single_sample_metrics.h 22 virtual void SetSample(HistogramBase::Sample sample) = 0;
55 HistogramBase::Sample min,
56 HistogramBase::Sample max,
72 HistogramBase::Sample min,
73 HistogramBase::Sample max,
83 HistogramBase::Sample min,
84 HistogramBase::Sample max,
90 void SetSample(HistogramBase::Sample sample) override;
93 HistogramBase* const histogram_;
97 HistogramBase::Sample sample_ = -1
    [all...]
histogram_snapshot_manager.h 42 void PrepareDeltas(const std::vector<HistogramBase*>& histograms,
43 HistogramBase::Flags flags_to_set,
44 HistogramBase::Flags required_flags);
51 void PrepareDelta(HistogramBase* histogram);
52 void PrepareFinalDelta(const HistogramBase* histogram);
62 // See HistogramBase::Inconsistency for values.
68 void PrepareSamples(const HistogramBase* histogram,
histogram_samples.h 66 bool Accumulate(size_t bucket, HistogramBase::Count count);
116 HistogramBase::AtomicCount redundant_count;
134 virtual void Accumulate(HistogramBase::Sample value,
135 HistogramBase::Count count) = 0;
136 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0;
137 virtual HistogramBase::Count TotalCount() const = 0;
158 HistogramBase::Count redundant_count() const {
183 bool AccumulateSingleSample(HistogramBase::Sample value,
184 HistogramBase::Count count
    [all...]
histogram_base_unittest.cc 41 HistogramBase* histogram = Histogram::FactoryGet(
43 (HistogramBase::kUmaTargetedHistogramFlag |
44 HistogramBase::kIPCSerializationSourceFlag));
50 HistogramBase* deserialized = DeserializeHistogramInfo(&iter);
63 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, deserialized->flags());
67 HistogramBase* histogram = LinearHistogram::FactoryGet(
69 HistogramBase::kIPCSerializationSourceFlag);
75 HistogramBase* deserialized = DeserializeHistogramInfo(&iter);
90 HistogramBase* histogram = BooleanHistogram::FactoryGet(
91 "TestHistogram", HistogramBase::kIPCSerializationSourceFlag)
    [all...]
histogram_base.cc 50 HistogramBase* DeserializeHistogramInfo(PickleIterator* iter) {
71 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX;
73 HistogramBase::HistogramBase(const char* name)
76 HistogramBase::~HistogramBase() = default;
78 void HistogramBase::CheckName(const StringPiece& name) const {
82 void HistogramBase::SetFlags(int32_t flags) {
83 HistogramBase::Count old_flags = subtle::NoBarrier_Load(&flags_)
    [all...]
dummy_histogram.cc 26 void Get(HistogramBase::Sample* min,
28 HistogramBase::Count* count) const override {
44 void Accumulate(HistogramBase::Sample value,
45 HistogramBase::Count count) override {}
46 HistogramBase::Count GetCount(HistogramBase::Sample value) const override {
47 return HistogramBase::Count();
49 HistogramBase::Count TotalCount() const override {
50 return HistogramBase::Count();
histogram_flattener.h 22 virtual void RecordDelta(const HistogramBase& histogram,
single_sample_metrics.cc 39 HistogramBase::Sample min,
40 HistogramBase::Sample max,
44 HistogramBase::kUmaTargetedHistogramFlag);
49 HistogramBase::Sample min,
50 HistogramBase::Sample max,
72 void DefaultSingleSampleMetric::SetSample(HistogramBase::Sample sample) {
histogram_unittest.cc 119 HistogramBase* histogram = Histogram::FactoryGet(
120 "TestHistogram", 1, 1000, 10, HistogramBase::kNoFlags);
123 HistogramBase* linear_histogram = LinearHistogram::FactoryGet(
124 "TestLinearHistogram", 1, 1000, 10, HistogramBase::kNoFlags);
130 HistogramBase* custom_histogram = CustomHistogram::FactoryGet(
131 "TestCustomHistogram", custom_ranges, HistogramBase::kNoFlags);
162 HistogramBase* histogram = LinearHistogram::FactoryGet(
163 "DuplicatedHistogram", 1, 101, 102, HistogramBase::kNoFlags);
172 HistogramBase* histogram =
174 HistogramBase::kNoFlags)
    [all...]
histogram_functions.cc 15 HistogramBase* histogram = BooleanHistogram::FactoryGet(
16 name, HistogramBase::kUmaTargetedHistogramFlag);
23 HistogramBase* histogram =
25 HistogramBase::kUmaTargetedHistogramFlag);
38 HistogramBase* histogram = Histogram::FactoryGet(
39 name, min, max, buckets, HistogramBase::kUmaTargetedHistogramFlag);
72 HistogramBase* histogram = Histogram::FactoryTimeGet(
73 name, min, max, buckets, HistogramBase::kUmaTargetedHistogramFlag);
105 HistogramBase* histogram = SparseHistogram::FactoryGet(
106 name, HistogramBase::kUmaTargetedHistogramFlag)
    [all...]
histogram_snapshot_manager.cc 47 const std::vector<HistogramBase*>& histograms,
48 HistogramBase::Flags flags_to_set,
49 HistogramBase::Flags required_flags) {
50 for (HistogramBase* const histogram : histograms) {
57 void HistogramSnapshotManager::PrepareDelta(HistogramBase* histogram) {
63 const HistogramBase* histogram) {
69 const HistogramBase* histogram,
86 if (HistogramBase::BUCKET_ORDER_ERROR & corruption) {
94 CHECK_NE(0U, HistogramBase::RANGE_CHECKSUM_ERROR & corruption);
103 CHECK_EQ(0U, HistogramBase::RANGE_CHECKSUM_ERROR & corruption)
    [all...]
histogram_snapshot_manager_unittest.cc 24 void RecordDelta(const HistogramBase& histogram,
74 StatisticsRecorder::PrepareDeltas(false, HistogramBase::kNoFlags,
75 HistogramBase::kNoFlags,
90 StatisticsRecorder::PrepareDeltas(false, HistogramBase::kNoFlags,
91 HistogramBase::kUmaTargetedHistogramFlag,
106 StatisticsRecorder::PrepareDeltas(false, HistogramBase::kNoFlags,
107 HistogramBase::kUmaStabilityHistogramFlag,
statistics_recorder_unittest.cc 98 HistogramBase::Sample min,
99 HistogramBase::Sample max,
135 HistogramBase* const histogram =
228 HistogramBase* histogram1 = Histogram::FactoryGet(
229 "TestHistogram1", 1, 1000, 10, HistogramBase::kNoFlags);
230 HistogramBase* histogram2 = Histogram::FactoryGet(
231 "TestHistogram2", 1, 1000, 10, HistogramBase::kNoFlags);
278 HistogramBase* const histogram1 = Histogram::FactoryGet(
279 "TestHistogram", 1, 1000, 10, HistogramBase::kNoFlags);
284 HistogramBase* const histogram2 = Histogram::FactoryGet
    [all...]
histogram_samples.cc 36 void Get(HistogramBase::Sample* min,
38 HistogramBase::Count* count) const override;
43 HistogramBase::Sample min_;
45 HistogramBase::Count count_;
67 void SampleCountPickleIterator::Get(HistogramBase::Sample* min,
69 HistogramBase::Count* count) const {
104 HistogramBase::Count count) {
201 HistogramBase::Count redundant_count;
223 HistogramBase::Sample min;
225 HistogramBase::Count count
    [all...]
histogram_delta_serialization.h 20 class HistogramBase;
45 void RecordDelta(const HistogramBase& histogram,
statistics_recorder.h 59 typedef std::vector<HistogramBase*> Histograms;
86 static HistogramBase* RegisterOrDeleteDuplicate(HistogramBase* histogram);
130 static HistogramBase* FindHistogram(base::StringPiece name);
143 HistogramBase::Flags flags_to_set,
144 HistogramBase::Flags required_flags,
147 typedef base::Callback<void(HistogramBase::Sample)> OnSampleCallback;
227 typedef std::unordered_map<StringPiece, HistogramBase*, StringPieceHash>
histogram_macros.h 83 name, __VA_ARGS__, base::HistogramBase::kUmaTargetedHistogramFlag))
92 base::HistogramBase::kUmaTargetedHistogramFlag)
101 base::HistogramBase::kUmaTargetedHistogramFlag))
117 name, sample, value_max, base::HistogramBase::kUmaTargetedHistogramFlag)
138 base::HistogramBase::kUmaTargetedHistogramFlag)
190 base::HistogramBase::kUmaTargetedHistogramFlag)
238 base::HistogramBase::kUmaTargetedHistogramFlag))
258 base::HistogramBase::kUmaTargetedHistogramFlag))
318 base::HistogramBase::kUmaStabilityHistogramFlag)
323 base::HistogramBase::kUmaStabilityHistogramFlag
    [all...]
histogram.h 14 // (HistogramBase::kSampleType_MAX - 1). However, there will always be underflow
25 // HistogramBase::kSampleType_MAX are implicitly added as first and last ranges,
100 class BASE_EXPORT Histogram : public HistogramBase {
119 static HistogramBase* FactoryGet(const std::string& name,
124 static HistogramBase* FactoryTimeGet(const std::string& name,
129 static HistogramBase* FactoryMicrosecondsTimeGet(const std::string& name,
138 static HistogramBase* FactoryGet(const char* name,
143 static HistogramBase* FactoryTimeGet(const char* name,
148 static HistogramBase* FactoryMicrosecondsTimeGet(const char* name,
155 static std::unique_ptr<HistogramBase> PersistentCreate
    [all...]
single_sample_metrics_unittest.cc 17 const HistogramBase::Sample kMin = 1;
18 const HistogramBase::Sample kMax = 10;
74 const HistogramBase::Sample kLastSample = 9;
89 Histogram::FactoryGet(kMetricName, 1, 3, 3, HistogramBase::kNoFlags));
92 HistogramBase::kUmaTargetedHistogramFlag));
107 const HistogramBase::Sample kSample1 = 5;
111 const HistogramBase::Sample kSample2 = 7;
  /external/libchrome/base/test/metrics/
histogram_tester.h 36 using CountsMap = std::map<std::string, HistogramBase::Count>;
46 HistogramBase::Sample sample,
47 HistogramBase::Count expected_count) const;
51 HistogramBase::Count expected_count) const {
52 ExpectUniqueSample(name, static_cast<HistogramBase::Sample>(sample),
60 HistogramBase::Sample sample,
61 HistogramBase::Count expected_count) const;
65 HistogramBase::Count expected_count) const {
66 ExpectBucketCount(name, static_cast<HistogramBase::Sample>(sample),
74 HistogramBase::Count count) const
    [all...]
histogram_enum_reader.h 16 using HistogramEnumEntryMap = std::map<HistogramBase::Sample, std::string>;
histogram_tester.cc 34 HistogramBase::Sample sample,
35 HistogramBase::Count expected_count) const {
36 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name);
49 HistogramBase::Sample sample,
50 HistogramBase::Count expected_count) const {
51 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name);
62 HistogramBase::Count count) const {
63 HistogramBase* histogram = StatisticsRecorder::FindHistogram(name);
75 HistogramBase::Count count) const {
86 HistogramBase::Sample sample
    [all...]

Completed in 283 milliseconds

1 2 3