X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_hw.h;h=bd5502c05a8e172672ead15b2add9c496f003c22;hb=818549a636c390fb4a8390a7e2195a52293cd56b;hp=f0a2b61670833c1ec502e924177b7ef609f7d40f;hpb=96db36a7a6ff75d2fc1353e45434a7f6b1db801b;p=rrdtool.git diff --git a/src/rrd_hw.h b/src/rrd_hw.h index f0a2b61..bd5502c 100644 --- a/src/rrd_hw.h +++ b/src/rrd_hw.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.7 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.23 Copyright by Tobi Oetiker, 1997-2007 ***************************************************************************** * rrd_hw.h : Support for Holt-Winters Smoothing/ Aberrant Behavior Detection *****************************************************************************/ @@ -11,11 +11,11 @@ int update_aberrant_CF(rrd_t *rrd, rrd_value_t pdp_val, enum cf_en current_cf, int create_hw_contingent_rras(rrd_t *rrd, unsigned short period, unsigned long hashed_name); int lookup_seasonal(rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, - FILE *rrd_file, unsigned long offset, rrd_value_t **seasonal_coef); + rrd_file_t* rrd_file, unsigned long offset, rrd_value_t **seasonal_coef); void erase_violations(rrd_t *rrd, unsigned long cdp_idx, unsigned long rra_idx); int apply_smoother(rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, - FILE *rrd_file); -void reset_aberrant_coefficients(rrd_t *rrd, FILE *rrd_file, unsigned long ds_idx); + rrd_file_t *rrd_file); +void reset_aberrant_coefficients(rrd_t *rrd, rrd_file_t *rrd_file, unsigned long ds_idx); void init_hwpredict_cdp(cdp_prep_t *); void init_seasonal_cdp(cdp_prep_t *); #define BURNIN_CYCLES 3