Searched refs:grpc_histogram (Results 1 – 8 of 8) sorted by relevance
/third_party/grpc/test/core/util/ |
D | histogram.h | 29 typedef struct grpc_histogram grpc_histogram; typedef 31 grpc_histogram* grpc_histogram_create(double resolution, 33 void grpc_histogram_destroy(grpc_histogram* h); 34 void grpc_histogram_add(grpc_histogram* h, double x); 39 int grpc_histogram_merge(grpc_histogram* dst, const grpc_histogram* src); 41 double grpc_histogram_percentile(grpc_histogram* histogram, double percentile); 42 double grpc_histogram_mean(grpc_histogram* histogram); 43 double grpc_histogram_stddev(grpc_histogram* histogram); 44 double grpc_histogram_variance(grpc_histogram* histogram); 45 double grpc_histogram_maximum(grpc_histogram* histogram); [all …]
|
D | histogram.cc | 36 struct grpc_histogram { struct 59 static size_t bucket_for_unchecked(grpc_histogram* h, double x) { in bucket_for_unchecked() argument 64 static size_t bucket_for(grpc_histogram* h, double x) { in bucket_for() 71 static double bucket_start(grpc_histogram* h, double x) { in bucket_start() 75 grpc_histogram* grpc_histogram_create(double resolution, in grpc_histogram_create() 77 grpc_histogram* h = in grpc_histogram_create() 78 static_cast<grpc_histogram*>(gpr_malloc(sizeof(grpc_histogram))); in grpc_histogram_create() 97 void grpc_histogram_destroy(grpc_histogram* h) { in grpc_histogram_destroy() 102 void grpc_histogram_add(grpc_histogram* h, double x) { in grpc_histogram_add() 115 int grpc_histogram_merge(grpc_histogram* dst, const grpc_histogram* src) { in grpc_histogram_merge() [all …]
|
D | histogram_test.cc | 28 static void expect_percentile(grpc_histogram* h, double percentile, in expect_percentile() 38 grpc_histogram* h; in test_simple() 55 grpc_histogram* h; in test_percentile() 100 grpc_histogram *h1, *h2; in test_merge()
|
/third_party/grpc/test/cpp/qps/ |
D | qps_interarrival_test.cc | 35 grpc_histogram* h(grpc_histogram_create(0.01, 60e9)); in RunTest()
|
D | histogram.h | 76 grpc_histogram* impl_;
|
/third_party/grpc/test/core/network_benchmarks/ |
D | low_level_ping_pong.cc | 279 static void print_histogram(grpc_histogram* histogram) { in print_histogram() 297 grpc_histogram* histogram = grpc_histogram_create(0.01, 60e9); in client_thread()
|
/third_party/grpc/test/core/fling/ |
D | client.cc | 34 static grpc_histogram* histogram;
|
/third_party/grpc/test/cpp/interop/ |
D | interop_client.cc | 1109 grpc_histogram* latencies_ms_histogram = grpc_histogram_create( in PerformSoakTest()
|