Home
last modified time | relevance | path

Searched refs:Histogram (Results 1 – 25 of 76) sorted by relevance

1234

/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram.cc61 Histogram::Histogram() in Histogram() function in webrtc::Histogram
76 Histogram::Histogram(int window_size) in Histogram() function in webrtc::Histogram
87 Histogram::~Histogram() {} in ~Histogram()
89 void Histogram::Update(double rms, double activity_probaility) { in Update()
103 void Histogram::RemoveOldestEntryAndUpdate() { in RemoveOldestEntryAndUpdate()
114 void Histogram::RemoveTransient() { in RemoveTransient()
128 void Histogram::InsertNewestEntryAndUpdate(int activity_prob_q10, in InsertNewestEntryAndUpdate()
161 void Histogram::UpdateHist(int activity_prob_q10, int hist_index) { in UpdateHist()
166 double Histogram::AudioContent() const { in AudioContent()
170 Histogram* Histogram::Create() { in Create()
[all …]
Dhistogram.h23 class Histogram {
26 static Histogram* Create();
30 static Histogram* Create(int window_size);
31 ~Histogram();
50 Histogram();
51 explicit Histogram(int window);
Dagc.h21 class Histogram; variable
51 rtc::scoped_ptr<Histogram> histogram_;
52 rtc::scoped_ptr<Histogram> inactive_histogram_;
Dhistogram_unittest.cc40 rtc::scoped_ptr<Histogram> hist_;
55 hist_.reset(Histogram::Create(buffer_size)); in RunTest()
57 hist_.reset(Histogram::Create()); in RunTest()
Dagc.cc36 histogram_(Histogram::Create(kNumAnalysisFrames)), in Agc()
37 inactive_histogram_(Histogram::Create()) { in Agc()
/external/libchrome/base/metrics/
Dhistogram_unittest.cc100 HistogramBase* histogram = Histogram::FactoryGet( in TEST_P()
154 Histogram::FactoryGet("DeltaHistogram", 1, 64, 8, in TEST_P()
183 Histogram::FactoryGet("FinalDeltaHistogram", 1, 64, 8, in TEST_P()
209 Histogram::InitializeBucketRanges(1, 64, &ranges); in TEST_P()
219 Histogram* histogram = static_cast<Histogram*>( in TEST_P()
220 Histogram::FactoryGet("Histogram", 1, 64, 8, HistogramBase::kNoFlags)); in TEST_P()
226 Histogram::InitializeBucketRanges(1, 32, &ranges2); in TEST_P()
246 Histogram* histogram2 = static_cast<Histogram*>( in TEST_P()
247 Histogram::FactoryGet("Histogram2", 1, 32, 15, HistogramBase::kNoFlags)); in TEST_P()
260 Histogram* histogram = static_cast<Histogram*>( in TEST_P()
[all …]
Dhistogram.cc75 const Histogram& casted_histogram = in ValidateRangeChecksum()
76 static_cast<const Histogram&>(histogram); in ValidateRangeChecksum()
87 const uint32_t Histogram::kBucketCount_MAX = 16384u;
89 class Histogram::Factory {
120 Histogram::InitializeBucketRanges(minimum_, maximum_, ranges); in CreateRanges()
127 return WrapUnique(new Histogram(name_, minimum_, maximum_, ranges)); in HeapAlloc()
149 HistogramBase* Histogram::Factory::Build() { in Build()
235 HistogramBase* Histogram::FactoryGet(const std::string& name, in FactoryGet()
247 HistogramBase* Histogram::FactoryTimeGet(const std::string& name, in FactoryTimeGet()
257 HistogramBase* Histogram::FactoryGet(const char* name, in FactoryGet()
[all …]
Dstatistics_recorder_unittest.cc81 Histogram* CreateHistogram(const std::string& name, in CreateHistogram()
86 Histogram::InitializeBucketRanges(min, max, ranges); in CreateHistogram()
89 return new Histogram(name, min, max, registered_ranges); in CreateHistogram()
139 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); in TEST_P()
196 Histogram* histogram = CreateHistogram("TestHistogram", 1, 1000, 10); in TEST_P()
217 HistogramBase* histogram1 = Histogram::FactoryGet( in TEST_P()
219 HistogramBase* histogram2 = Histogram::FactoryGet( in TEST_P()
251 Histogram::FactoryGet("TestHistogram1", 1, 1000, 10, Histogram::kNoFlags); in TEST_P()
252 Histogram::FactoryGet("TestHistogram2", 1, 1000, 10, Histogram::kNoFlags); in TEST_P()
253 Histogram::FactoryGet("TestHistogram3", 1, 1000, 10, Histogram::kNoFlags); in TEST_P()
[all …]
Dhistogram.h89 class Histogram; variable
95 class BASE_EXPORT Histogram : public HistogramBase {
102 ~Histogram() override;
218 Histogram(const std::string& name,
229 Histogram(const std::string& name,
316 DISALLOW_COPY_AND_ASSIGN(Histogram);
323 class BASE_EXPORT LinearHistogram : public Histogram {
478 class BASE_EXPORT CustomHistogram : public Histogram {
Dhistogram_base_unittest.cc47 HistogramBase* histogram = Histogram::FactoryGet( in TEST_F()
178 Histogram::FactoryGet("CRH-Histogram", 1, 10, 5, 0); in TEST_F()
195 Histogram::FactoryGet("CRH-Histogram-UMA-Targeted", 1, 10, 5, in TEST_F()
197 Histogram::FactoryGet("CRH-Histogram-UMA-Stability", 1, 10, 5, in TEST_F()
211 Histogram::FactoryGet("CRH-Histogram", 1, 10, 5, 0); in TEST_F()
Dhistogram_delta_serialization.cc55 Histogram::FactoryGet( in HistogramDeltaSerialization()
74 Histogram::kIPCSerializationSourceFlag, Histogram::kNoFlags); in PrepareAndSerializeDeltas()
Dhistogram_macros_local.h28 base::BooleanHistogram::FactoryGet(name, base::Histogram::kNoFlags))
68 base::Histogram::FactoryTimeGet(name, min, max, bucket_count, \
/external/tensorflow/tensorflow/core/lib/histogram/
Dhistogram_test.cc25 static void Validate(const Histogram& h) { in Validate()
31 Histogram h2; in Validate()
41 Histogram h3; in Validate()
49 TEST(Histogram, Empty) { in TEST() argument
50 Histogram h; in TEST()
54 TEST(Histogram, SingleValue) { in TEST() argument
55 Histogram h; in TEST()
60 TEST(Histogram, CustomBuckets) { in TEST() argument
61 Histogram h({-10, -5, 0, 5, 10, 100, 1000, 10000, DBL_MAX}); in TEST()
69 TEST(Histogram, Median) { in TEST() argument
[all …]
Dhistogram.cc53 Histogram::Histogram() : bucket_limits_(InitDefaultBuckets()) { Clear(); } in Histogram() function in tensorflow::histogram::Histogram
57 Histogram::Histogram(gtl::ArraySlice<double> custom_bucket_limits) in Histogram() function in tensorflow::histogram::Histogram
71 bool Histogram::DecodeFromProto(const HistogramProto& proto) { in DecodeFromProto()
91 void Histogram::Clear() { in Clear()
103 void Histogram::Add(double value) { in Add()
116 double Histogram::Median() const { return Percentile(50.0); } in Median()
119 double Histogram::Remap(double x, double x0, double x1, double y0, in Remap()
126 double Histogram::Percentile(double p) const { in Percentile()
159 double Histogram::Average() const { in Average()
164 double Histogram::StandardDeviation() const { in StandardDeviation()
[all …]
Dhistogram.h33 class Histogram {
39 Histogram();
45 explicit Histogram(gtl::ArraySlice<double> custom_bucket_limits);
52 ~Histogram() {} in ~Histogram()
100 TF_DISALLOW_COPY_AND_ASSIGN(Histogram);
133 Histogram histogram_ GUARDED_BY(mu_);
/external/brotli/c/enc/
Dhistogram_inc.h12 typedef struct FN(Histogram) {
16 } FN(Histogram);
18 static BROTLI_INLINE void FN(HistogramClear)(FN(Histogram)* self) { in FN()
25 FN(Histogram)* array, size_t length) { in FN()
30 static BROTLI_INLINE void FN(HistogramAdd)(FN(Histogram)* self, size_t val) { in FN()
35 static BROTLI_INLINE void FN(HistogramAddVector)(FN(Histogram)* self, in FN()
42 static BROTLI_INLINE void FN(HistogramAddHistogram)(FN(Histogram)* self, in FN()
43 const FN(Histogram)* v) { in FN()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dsampler_test.cc24 using histogram::Histogram;
26 void EqHistograms(const Histogram& expected, in EqHistograms()
28 Histogram actual; in EqHistograms()
40 Histogram empty; in TEST()
46 Histogram expected({10.0, 20.0, DBL_MAX}); in TEST()
67 Histogram empty; in TEST()
78 Histogram expected({1.5, 2.8, DBL_MAX}); in TEST()
98 Histogram expected({1.0, 2.0, 4.0, DBL_MAX}); in TEST()
/external/webrtc/webrtc/system_wrappers/include/
Dmetrics.h131 static webrtc::metrics::Histogram* atomic_histogram_pointer = nullptr; \
132 webrtc::metrics::Histogram* histogram_pointer = \
136 webrtc::metrics::Histogram* prev_pointer = \
139 static_cast<webrtc::metrics::Histogram*>(nullptr), \
152 webrtc::metrics::Histogram* histogram_pointer = factory_get_invocation; \
162 class Histogram; variable
168 Histogram* HistogramFactoryGetCounts(
173 Histogram* HistogramFactoryGetEnumeration(
179 Histogram* histogram_pointer, const std::string& name, int sample);
/external/webrtc/webrtc/test/
Dhistogram.cc39 Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max, in HistogramFactoryGetCounts()
46 return reinterpret_cast<Histogram*>(&it->second); in HistogramFactoryGetCounts()
49 Histogram* HistogramFactoryGetEnumeration(const std::string& name, in HistogramFactoryGetEnumeration()
56 return reinterpret_cast<Histogram*>(&it->second); in HistogramFactoryGetEnumeration()
60 Histogram* histogram_pointer, const std::string& name, int sample) { in HistogramAdd()
/external/webrtc/webrtc/system_wrappers/source/
Dmetrics_default.cc18 Histogram* HistogramFactoryGetCounts(const std::string& name, int min, int max, in HistogramFactoryGetCounts()
21 Histogram* HistogramFactoryGetEnumeration(const std::string& name, in HistogramFactoryGetEnumeration()
25 Histogram* histogram_pointer, const std::string& name, int sample) {} in HistogramAdd()
/external/v8/src/
Dcounters.h177 class Histogram {
179 Histogram() { } in Histogram() function
180 Histogram(const char* name, in Histogram() function
233 class HistogramTimer : public Histogram {
243 : Histogram(name, min, max, num_buckets, isolate), in HistogramTimer()
321 class AggregatableHistogramTimer : public Histogram {
326 : Histogram(name, min, max, num_buckets, isolate) {} in AggregatableHistogramTimer()
379 template <typename Histogram>
390 explicit AggregatedMemoryHistogram(Histogram* backing_histogram) in AggregatedMemoryHistogram()
413 Histogram* backing_histogram_;
[all …]
Dcounters.cc28 void Histogram::AddSample(int sample) { in AddSample()
34 void* Histogram::CreateHistogram() const { in CreateHistogram()
65 name##_ = Histogram(#caption, min, max, num_buckets, isolate); in Counters()
80 name##_ = Histogram(#caption, 0, 101, 100, isolate); in Counters()
92 name##_ = Histogram(#caption, 1000, 500000, 50, isolate); in Counters()
97 name##_ = Histogram(#caption, 4000, 2000000, 100, isolate); in Counters()
102 aggregated_##name##_ = AggregatedMemoryHistogram<Histogram>(&name##_); in Counters()
/external/llvm/test/tools/llvm-readobj/
Delf-hash-histogram.test8 PPC64GNU: Histogram for `.gnu.hash' bucket list length (total of 3 buckets)
15 X86GNU: Histogram for `.gnu.hash' bucket list length (total of 3 buckets)
22 SYSV: Histogram for bucket list length (total of 3 buckets)
/external/tensorflow/tensorflow/core/kernels/data/
Dstats_aggregator_ops.cc35 histogram::Histogram& histogram = histograms_[name]; in AddToHistogram()
45 const histogram::Histogram& histogram = pair.second; in EncodeToProto()
56 std::unordered_map<string, histogram::Histogram> histograms_ GUARDED_BY(mu_);
/external/libmojo/base/android/
Drecord_histogram.cc41 Histogram* hist = static_cast<Histogram*>(histogram); in HistogramConstructionParamsToString()
59 bool valid_arguments = Histogram::InspectConstructionArguments( in CheckHistogramArgs()
124 Histogram::FactoryGet(histogram_name, min, max, num_buckets, in CustomCountHistogram()
188 histogram = Histogram::FactoryGet(histogram_name, min, max, bucket_count, in CustomTimesHistogram()

1234