/external/tensorflow/tensorflow/core/lib/histogram/ |
D | histogram_test.cc | 25 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 …]
|
D | histogram.cc | 53 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 …]
|
D | histogram.h | 33 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_ TF_GUARDED_BY(mu_);
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/ |
D | Stats.cs | 37 …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/libchrome/base/metrics/ |
D | histogram_unittest.cc | 98 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 …]
|
D | histogram.cc | 84 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 …]
|
D | statistics_recorder_unittest.cc | 97 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 …]
|
D | histogram.h | 92 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/test/cpp/qps/ |
D | histogram.h | 28 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/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/ |
D | AsyncClient.java | 53 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 …]
|
D | OpenLoopClient.java | 44 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/brotli/c/enc/ |
D | histogram_inc.h | 12 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/webrtc/modules/audio_coding/neteq/ |
D | histogram.cc | 23 Histogram::Histogram(size_t num_buckets, in Histogram() function in webrtc::Histogram 34 Histogram::~Histogram() {} in ~Histogram() 49 void Histogram::Add(int value) { in Add() 107 int Histogram::Quantile(int probability) { in Quantile() 133 void Histogram::Reset() { in Reset() 145 int Histogram::NumBuckets() const { in NumBuckets()
|
D | histogram_unittest.cc | 20 Histogram histogram(65, 32440); in TEST() 34 Histogram histogram(10, 32440); in TEST() 49 Histogram histogram(10, 32440); in TEST() 64 Histogram histogram(100, kSteadyStateForgetFactor, 1.0); in TEST()
|
D | histogram.h | 22 class Histogram { 25 Histogram(size_t num_buckets, 29 virtual ~Histogram();
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | Histogram.java | 22 class Histogram { class 25 private Histogram(long handle) { in Histogram() method in Histogram 29 static public Histogram createCounts(String name, int min, int max, int bucketCount) { in createCounts() 30 return new Histogram(nativeCreateCounts(name, min, max, bucketCount)); in createCounts() 33 static public Histogram createEnumeration(String name, int max) { in createEnumeration() 34 return new Histogram(nativeCreateEnumeration(name, max)); in createEnumeration()
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | sampler_test.cc | 24 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/test/testsupport/ |
D | perf_test_histogram_writer_unittest.cc | 46 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 78 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 79 const proto::Histogram& hist2 = histogram_set.histograms(1); in TEST() 104 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 119 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 135 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 149 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 164 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 182 const proto::Histogram& hist1 = histogram_set.histograms(0); in TEST() 183 const proto::Histogram& hist2 = histogram_set.histograms(1); in TEST() [all …]
|
/external/webrtc/modules/video_coding/ |
D | histogram.cc | 19 Histogram::Histogram(size_t num_buckets, size_t max_num_values) { in Histogram() function in webrtc::video_coding::Histogram 27 void Histogram::Add(size_t value) { in Add() 41 size_t Histogram::InverseCdf(float probability) const { in InverseCdf() 56 size_t Histogram::NumValues() const { in NumValues()
|
/external/webrtc/system_wrappers/source/ |
D | metrics.cc | 23 class Histogram; 111 Histogram* GetCountsHistogram(const std::string& name, in GetCountsHistogram() 118 return reinterpret_cast<Histogram*>(it->second.get()); in GetCountsHistogram() 122 return reinterpret_cast<Histogram*>(hist); in GetCountsHistogram() 125 Histogram* GetEnumerationHistogram(const std::string& name, int boundary) { in GetEnumerationHistogram() 129 return reinterpret_cast<Histogram*>(it->second.get()); in GetEnumerationHistogram() 133 return reinterpret_cast<Histogram*>(hist); in GetEnumerationHistogram() 225 Histogram* HistogramFactoryGetCounts(const std::string& name, in HistogramFactoryGetCounts() 238 Histogram* HistogramFactoryGetCountsLinear(const std::string& name, in HistogramFactoryGetCountsLinear() 253 Histogram* HistogramFactoryGetEnumeration(const std::string& name, in HistogramFactoryGetEnumeration() [all …]
|
/external/webrtc/modules/audio_processing/agc2/ |
D | interpolated_gain_curve.h | 82 metrics::Histogram* identity_histogram; 83 metrics::Histogram* knee_histogram; 84 metrics::Histogram* limiter_histogram; 85 metrics::Histogram* saturation_histogram;
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | HistogramTest.cs | 37 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/system_wrappers/include/ |
D | metrics.h | 195 static webrtc::metrics::Histogram* atomic_histogram_pointer = nullptr; \ 196 webrtc::metrics::Histogram* histogram_pointer = \ 200 webrtc::metrics::Histogram* prev_pointer = \ 203 static_cast<webrtc::metrics::Histogram*>(nullptr), \ 217 webrtc::metrics::Histogram* histogram_pointer = factory_get_invocation; \ 368 class Histogram; variable 374 Histogram* HistogramFactoryGetCounts(const std::string& name, 380 Histogram* HistogramFactoryGetCountsLinear(const std::string& name, 387 Histogram* HistogramFactoryGetEnumeration(const std::string& name, 392 Histogram* SparseHistogramFactoryGetEnumeration(const std::string& name, [all …]
|
/external/rust/crates/plotters/src/series/ |
D | histogram.rs | 20 pub struct Histogram<'a, BR, A, Tag = Vertical> struct 34 impl<'a, BR, A, Tag> Histogram<'a, BR, A, Tag> impl 103 impl<'a, BR, A> Histogram<'a, BR, A, Vertical> implementation 120 impl<'a, BR, A> Histogram<'a, BR, A, Horizontal> implementation 136 impl<'a, BR, A> Iterator for Histogram<'a, BR, A, Vertical> implementation 160 impl<'a, BR, A> Iterator for Histogram<'a, BR, A, Horizontal> implementation
|
/external/llvm/test/tools/llvm-readobj/ |
D | elf-hash-histogram.test | 8 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)
|