diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-07-31 16:14:11 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-07-31 16:14:11 +0000 |
commit | 9c2ec3049a5634f1c916d792e81fc80edb669ea8 (patch) | |
tree | 0d634e179761581cadbffe852e7f9a9f049b5c6e /performance-tests/SCTP/hist.h | |
parent | 6540653cf736840d5aad719c73a8e43a549080be (diff) | |
download | ATCD-9c2ec3049a5634f1c916d792e81fc80edb669ea8.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-1_4_2'.TAO-1_4_2
Diffstat (limited to 'performance-tests/SCTP/hist.h')
-rw-r--r-- | performance-tests/SCTP/hist.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/performance-tests/SCTP/hist.h b/performance-tests/SCTP/hist.h deleted file mode 100644 index 46999d39182..00000000000 --- a/performance-tests/SCTP/hist.h +++ /dev/null @@ -1,68 +0,0 @@ -// $Id$ - -#include <stdio.h> - -#define HIST_VERSION "1.3" - - -struct optheader { - char *key; - char *value; - struct optheader *next; -}; - -typedef struct hist_s { - char *name; - double max, min, sum, sum2, sum3, sum4; - double first, last; - unsigned int num_points, num_bins; - unsigned int *hs; - unsigned int num_outer, max_num_outer; - double *outer; - struct hist_s *next; - int skew; - struct optheader *firstoptheader; -} hist_t; - -#define HIST hist_t * - -hist_t *histogram(char *name, unsigned int num_bins, double first, - double last); - -void set_outer(unsigned int max_num_outer, hist_t *hist); - -void enable_skew(hist_t *hist); - -void add_field(char *key, char *value, hist_t *hist); - -void add_field_n(char *key, int value, hist_t *hist); - -void record(double point, hist_t *hist); - -void report_to(FILE *strm, hist_t *hist); - -void report(); - -void stats_init(); - -double get_mean(HIST hist); - -double get_min(HIST hist); - -double get_max(HIST hist); - -double get_variance(HIST hist); - -double get_num(HIST hist); - -void set_mean(HIST hist, double mean); - -void set_min(HIST hist, double min); - -void set_max(HIST hist, double max); - -void set_variance(HIST hist, double variance); - -void add_histogram(HIST dest, HIST source); - -double histfloor(double x); |