hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cf_average.h File Reference
#include <stdint.h>
#include "citrusleaf/cf_base_types.h"
Include dependency graph for cf_average.h:

Go to the source code of this file.

Classes

struct  cf_average_s

Typedefs

typedef struct cf_average_s cf_average

Functions

cf_averagecf_average_create (uint32_t initial_size, uint32_t flags)
void cf_average_destroy (cf_average *avg)
void cf_average_clear (cf_average *avg)
int cf_average_add (cf_average *avgp, uint64_t value)
double cf_average_calculate (cf_average *avg, bool clear)

Typedef Documentation

typedef struct cf_average_s cf_average

Function Documentation

int cf_average_add ( cf_average avgp,
uint64_t  value 
)
double cf_average_calculate ( cf_average avg,
bool  clear 
)
void cf_average_clear ( cf_average avg)
cf_average* cf_average_create ( uint32_t  initial_size,
uint32_t  flags 
)
void cf_average_destroy ( cf_average avg)