Coda Distributed File System
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "coda_assert.h"
#include "histo.h"
Functions | |
int | InitHisto (struct hgram *hg, double lolimit, double hilimit, int bucketcount, enum htype ht) |
void | ClearHisto (struct hgram *hg) |
void | UpdateHisto (struct hgram *hg, double newval) |
void | MUpdateHisto (struct hgram *hg, double newval, int number) |
int | PrintHisto (FILE *outfile, struct hgram *hg) |
int | PlotHisto (FILE *outfile, struct hgram *hg, char *graphtitle, char *xtitle, char *ytitle, char *psfileprefix) |
void ClearHisto | ( | struct hgram * | hg | ) |
void MUpdateHisto | ( | struct hgram * | hg, |
double | newval, | ||
int | number | ||
) |
int PlotHisto | ( | FILE * | outfile, |
struct hgram * | hg, | ||
char * | graphtitle, | ||
char * | xtitle, | ||
char * | ytitle, | ||
char * | psfileprefix | ||
) |
int PrintHisto | ( | FILE * | outfile, |
struct hgram * | hg | ||
) |
void UpdateHisto | ( | struct hgram * | hg, |
double | newval | ||
) |