Go to the source code of this file.
Typedefs | |
typedef struct grpc_histogram | grpc_histogram |
typedef struct grpc_histogram grpc_histogram |
Definition at line 30 of file core/util/histogram.h.
void grpc_histogram_add | ( | grpc_histogram * | h, |
double | x | ||
) |
Definition at line 104 of file histogram.cc.
double grpc_histogram_count | ( | grpc_histogram * | histogram | ) |
Definition at line 221 of file histogram.cc.
grpc_histogram* grpc_histogram_create | ( | double | resolution, |
double | max_bucket_start | ||
) |
Definition at line 77 of file histogram.cc.
void grpc_histogram_destroy | ( | grpc_histogram * | h | ) |
Definition at line 99 of file histogram.cc.
const uint32_t* grpc_histogram_get_contents | ( | grpc_histogram * | histogram, |
size_t * | count | ||
) |
Definition at line 229 of file histogram.cc.
double grpc_histogram_maximum | ( | grpc_histogram * | histogram | ) |
Definition at line 217 of file histogram.cc.
double grpc_histogram_mean | ( | grpc_histogram * | histogram | ) |
Definition at line 202 of file histogram.cc.
int grpc_histogram_merge | ( | grpc_histogram * | dst, |
const grpc_histogram * | src | ||
) |
The following merges the second histogram into the first. It only works if they have the same buckets and resolution. Returns 0 on failure, 1 on success
Definition at line 117 of file histogram.cc.
void grpc_histogram_merge_contents | ( | grpc_histogram * | histogram, |
const uint32_t * | data, | ||
size_t | data_count, | ||
double | min_seen, | ||
double | max_seen, | ||
double | sum, | ||
double | sum_of_squares, | ||
double | count | ||
) |
Definition at line 129 of file histogram.cc.
double grpc_histogram_minimum | ( | grpc_histogram * | histogram | ) |
Definition at line 219 of file histogram.cc.
double grpc_histogram_percentile | ( | grpc_histogram * | histogram, |
double | percentile | ||
) |
Definition at line 198 of file histogram.cc.
double grpc_histogram_stddev | ( | grpc_histogram * | histogram | ) |
Definition at line 207 of file histogram.cc.
double grpc_histogram_sum | ( | grpc_histogram * | histogram | ) |
Definition at line 223 of file histogram.cc.
double grpc_histogram_sum_of_squares | ( | grpc_histogram * | histogram | ) |
Definition at line 225 of file histogram.cc.
double grpc_histogram_variance | ( | grpc_histogram * | histogram | ) |
Definition at line 211 of file histogram.cc.