Home
last modified time | relevance | path

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

12345

/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()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs37 …new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Core.Histogram), global::Grpc.Core.Histogram.Par… in StatsReflection()
203 public sealed partial class Histogram : pb::IMessage<Histogram> { class
204 …ivate static readonly pb::MessageParser<Histogram> _parser = new pb::MessageParser<Histogram>(() =…
207 public static pb::MessageParser<Histogram> Parser { get { return _parser; } }
220 public Histogram() { in Histogram() method in Grpc.Core.Histogram
227 public Histogram(Histogram other) : this() { in Histogram() method in Grpc.Core.Histogram
233 public Histogram Clone() { in Clone()
234 return new Histogram(this); in Clone()
249 return Equals(other as Histogram); in Equals()
253 public bool Equals(Histogram other) { in Equals()
[all …]
/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/libchrome/base/metrics/
Dhistogram_unittest.cc98 std::unique_ptr<SampleVector> SnapshotAllSamples(Histogram* h) { in SnapshotAllSamples()
119 HistogramBase* histogram = Histogram::FactoryGet( in TEST_P()
173 Histogram::FactoryGet("DeltaHistogram", 1, 64, 8, in TEST_P()
202 Histogram::FactoryGet("FinalDeltaHistogram", 1, 64, 8, in TEST_P()
228 Histogram::InitializeBucketRanges(1, 64, &ranges); in TEST_P()
238 Histogram* histogram = static_cast<Histogram*>( in TEST_P()
239 Histogram::FactoryGet("Histogram", 1, 64, 8, HistogramBase::kNoFlags)); in TEST_P()
245 Histogram::InitializeBucketRanges(1, 32, &ranges2); in TEST_P()
265 Histogram* histogram2 = static_cast<Histogram*>( in TEST_P()
266 Histogram::FactoryGet("Histogram2", 1, 32, 15, HistogramBase::kNoFlags)); in TEST_P()
[all …]
Dhistogram.cc84 const Histogram& casted_histogram = in ValidateRangeChecksum()
85 static_cast<const Histogram&>(histogram); in ValidateRangeChecksum()
96 const uint32_t Histogram::kBucketCount_MAX = 16384u;
98 class Histogram::Factory {
129 Histogram::InitializeBucketRanges(minimum_, maximum_, ranges); in CreateRanges()
137 new Histogram(GetPermanentName(name_), minimum_, maximum_, ranges)); in HeapAlloc()
159 HistogramBase* Histogram::Factory::Build() { in Build()
249 HistogramBase* Histogram::FactoryGet(const std::string& name, in FactoryGet()
261 HistogramBase* Histogram::FactoryTimeGet(const std::string& name, in FactoryTimeGet()
271 HistogramBase* Histogram::FactoryMicrosecondsTimeGet(const std::string& name, in FactoryMicrosecondsTimeGet()
[all …]
Dstatistics_recorder_unittest.cc97 Histogram* CreateHistogram(const char* name, in CreateHistogram()
102 Histogram::InitializeBucketRanges(min, max, ranges); in CreateHistogram()
105 return new Histogram(name, min, max, registered_ranges); in CreateHistogram()
194 Histogram* const histogram1 = CreateHistogram("TestHistogram1", 1, 1000, 10); in TEST_P()
211 Histogram* const histogram2 = CreateHistogram("TestHistogram1", 1, 1000, 10); in TEST_P()
219 Histogram* const histogram3 = CreateHistogram("TestHistogram0", 1, 1000, 10); in TEST_P()
228 HistogramBase* histogram1 = Histogram::FactoryGet( in TEST_P()
230 HistogramBase* histogram2 = Histogram::FactoryGet( in TEST_P()
262 Histogram::FactoryGet("TestHistogram1", 1, 1000, 10, Histogram::kNoFlags); in TEST_P()
263 Histogram::FactoryGet("TestHistogram2", 1, 1000, 10, Histogram::kNoFlags); in TEST_P()
[all …]
Dhistogram.h92 class Histogram; variable
100 class BASE_EXPORT Histogram : public HistogramBase {
107 ~Histogram() override;
237 Histogram(const char* name,
248 Histogram(const char* name,
335 DISALLOW_COPY_AND_ASSIGN(Histogram);
342 class BASE_EXPORT LinearHistogram : public Histogram {
460 using AtomicCount = Histogram::AtomicCount;
461 using Sample = Histogram::Sample;
544 class BASE_EXPORT CustomHistogram : public Histogram {
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAsyncClient.java53 import org.HdrHistogram.Histogram;
88 List<Histogram> histograms = doBenchmark(req, channels, endTime); in run()
91 Histogram merged = merge(histograms); in run()
120 private List<Histogram> doBenchmark(SimpleRequest req, in doBenchmark()
124 List<Future<Histogram>> futures = in doBenchmark()
125 new ArrayList<Future<Histogram>>(config.outstandingRpcsPerChannel); in doBenchmark()
133 List<Histogram> histograms = new ArrayList<>(futures.size()); in doBenchmark()
134 for (Future<Histogram> future : futures) { in doBenchmark()
140 private Future<Histogram> doRpcs(Channel channel, SimpleRequest request, long endTime) { in doRpcs()
151 private Future<Histogram> doUnaryCalls(Channel channel, final SimpleRequest request, in doUnaryCalls()
[all …]
DOpenLoopClient.java44 import org.HdrHistogram.Histogram;
95 Histogram histogram = worker.call(); in run()
104 private void printStats(Histogram histogram, long elapsedTime) { in printStats()
127 static class LoadGenerationWorker implements Callable<Histogram> {
128 final Histogram histogram = new AtomicHistogram(HISTOGRAM_MAX_VALUE, HISTOGRAM_PRECISION);
160 public Histogram call() throws Exception { in call()
/external/grpc-grpc/test/cpp/qps/
Dhistogram.h28 class Histogram {
31 Histogram() in Histogram() function
34 ~Histogram() { in ~Histogram()
42 Histogram(Histogram&& other) : impl_(other.impl_) { other.impl_ = nullptr; } in Histogram() function
44 void Merge(const Histogram& h) { grpc_histogram_merge(impl_, h.impl_); } in Merge()
50 void Swap(Histogram* other) { std::swap(impl_, other->impl_); } in Swap()
73 Histogram(const Histogram&);
74 Histogram& operator=(const Histogram&);
/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/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DHistogramTest.cs37 var hist = new Histogram(0.01, 60e9); in Simple()
59 var hist = new Histogram(0.01, 60e9); in ExtremeObservations()
73 var hist1 = new Histogram(0.01, 60e9); in MergeSnapshots()
78 var hist2 = new Histogram(0.01, 60e9); in MergeSnapshots()
95 var hist = new Histogram(0.01, 60e9); in Reset()
/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/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/swiftshader/third_party/llvm-7.0/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/v8/src/
Dcounters.h209 class Histogram {
230 Histogram() {} in Histogram() function
231 Histogram(const char* name, int min, int max, int num_buckets, in Histogram() function
264 class TimedHistogram : public Histogram {
284 : Histogram(name, min, max, num_buckets, counters), in TimedHistogram()
472 class AggregatableHistogramTimer : public Histogram {
493 : Histogram(name, min, max, num_buckets, counters) {} in AggregatableHistogramTimer()
538 template <typename Histogram>
542 explicit AggregatedMemoryHistogram(Histogram* backing_histogram) in AggregatedMemoryHistogram()
575 Histogram* backing_histogram_;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DRetireControlUnitStatistics.h36 using Histogram = std::map<unsigned, unsigned>; variable
37 Histogram RetiredPerCycle;

12345