GRPC Core  0.11.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
histogram.h File Reference
#include <grpc/support/port_platform.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct gpr_histogram gpr_histogram
 

Functions

gpr_histogramgpr_histogram_create (double resolution, double max_bucket_start)
 
void gpr_histogram_destroy (gpr_histogram *h)
 
void gpr_histogram_add (gpr_histogram *h, double x)
 
int gpr_histogram_merge (gpr_histogram *dst, gpr_histogram *src)
 
double gpr_histogram_percentile (gpr_histogram *histogram, double percentile)
 
double gpr_histogram_mean (gpr_histogram *histogram)
 
double gpr_histogram_stddev (gpr_histogram *histogram)
 
double gpr_histogram_variance (gpr_histogram *histogram)
 
double gpr_histogram_maximum (gpr_histogram *histogram)
 
double gpr_histogram_minimum (gpr_histogram *histogram)
 
double gpr_histogram_count (gpr_histogram *histogram)
 
double gpr_histogram_sum (gpr_histogram *histogram)
 
double gpr_histogram_sum_of_squares (gpr_histogram *histogram)
 
const gpr_uint32gpr_histogram_get_contents (gpr_histogram *histogram, size_t *count)
 
void gpr_histogram_merge_contents (gpr_histogram *histogram, const gpr_uint32 *data, size_t data_count, double min_seen, double max_seen, double sum, double sum_of_squares, double count)
 

Typedef Documentation

typedef struct gpr_histogram gpr_histogram

Function Documentation

void gpr_histogram_add ( gpr_histogram h,
double  x 
)
double gpr_histogram_count ( gpr_histogram histogram)
gpr_histogram* gpr_histogram_create ( double  resolution,
double  max_bucket_start 
)
void gpr_histogram_destroy ( gpr_histogram h)
const gpr_uint32* gpr_histogram_get_contents ( gpr_histogram histogram,
size_t *  count 
)
double gpr_histogram_maximum ( gpr_histogram histogram)
double gpr_histogram_mean ( gpr_histogram histogram)
int gpr_histogram_merge ( gpr_histogram dst,
gpr_histogram src 
)
void gpr_histogram_merge_contents ( gpr_histogram histogram,
const gpr_uint32 data,
size_t  data_count,
double  min_seen,
double  max_seen,
double  sum,
double  sum_of_squares,
double  count 
)
double gpr_histogram_minimum ( gpr_histogram histogram)
double gpr_histogram_percentile ( gpr_histogram histogram,
double  percentile 
)
double gpr_histogram_stddev ( gpr_histogram histogram)
double gpr_histogram_sum ( gpr_histogram histogram)
double gpr_histogram_sum_of_squares ( gpr_histogram histogram)
double gpr_histogram_variance ( gpr_histogram histogram)