Go to the documentation of this file.
23 #define LOG_TEST(x) gpr_log(GPR_INFO, "%s", x);
30 double min_expect,
double max_expect) {
91 for (
i = 0;
i < 100.0;
i += 0.01) {
148 for (
i = 0;
i < 100.0;
i += 0.01) {
static void test_percentile(void)
static void test_merge(void)
def percentile(N, percent, key=lambda x:x)
double grpc_histogram_minimum(grpc_histogram *h)
static void test_no_op(void)
static void test_simple(void)
double grpc_histogram_count(grpc_histogram *h)
void grpc_histogram_destroy(grpc_histogram *h)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
static void expect_percentile(grpc_histogram *h, double percentile, double min_expect, double max_expect)
double grpc_histogram_percentile(grpc_histogram *h, double percentile)
double grpc_histogram_stddev(grpc_histogram *h)
double grpc_histogram_variance(grpc_histogram *h)
grpc_histogram * grpc_histogram_create(double resolution, double max_bucket_start)
double grpc_histogram_maximum(grpc_histogram *h)
double grpc_histogram_sum(grpc_histogram *h)
double grpc_histogram_sum_of_squares(grpc_histogram *h)
double grpc_histogram_mean(grpc_histogram *h)
void grpc_histogram_add(grpc_histogram *h, double x)
int grpc_histogram_merge(grpc_histogram *dst, const grpc_histogram *src)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:13