42 #ifndef UTIL_TIMEHIST_H 43 #define UTIL_TIMEHIST_H 46 #define NUM_BUCKETS_HIST 40
void timehist_clear(struct timehist *hist)
void timehist_import(struct timehist *hist, long long *array, size_t sz)
void timehist_log(struct timehist *hist, const char *name)
void timehist_print(struct timehist *hist)
void timehist_insert(struct timehist *hist, struct timeval *tv)
struct timehist * timehist_setup(void)
void timehist_export(struct timehist *hist, long long *array, size_t sz)
double timehist_quartile(struct timehist *hist, double q)
void timehist_delete(struct timehist *hist)