Home
last modified time | relevance | path

Searched refs:grpc_histogram (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/test/core/util/
Dhistogram.h29 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 …]
Dhistogram.cc36 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 …]
Dhistogram_test.cc28 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()
/external/grpc-grpc/test/cpp/qps/
Dqps_interarrival_test.cc35 grpc_histogram* h(grpc_histogram_create(0.01, 60e9)); in RunTest()
Dhistogram.h76 grpc_histogram* impl_;
/external/grpc-grpc/test/core/network_benchmarks/
Dlow_level_ping_pong.cc279 static void print_histogram(grpc_histogram* histogram) { in print_histogram()
297 grpc_histogram* histogram = grpc_histogram_create(0.01, 60e9); in client_thread()
/external/grpc-grpc/test/core/fling/
Dclient.cc34 static grpc_histogram* histogram;