12 #ifndef TOR_FEATURE_STATS_BW_ARRAY_ST_H
13 #define TOR_FEATURE_STATS_BW_ARRAY_ST_H
17 #define NUM_SECS_ROLLING_MEASURE 10
19 #define NUM_SECS_BW_SUM_INTERVAL (24*60*60)
21 #define NUM_SECS_BW_SUM_IS_VALID (5*24*60*60)
23 #define NUM_TOTALS (NUM_SECS_BW_SUM_IS_VALID/NUM_SECS_BW_SUM_INTERVAL)
#define NUM_SECS_ROLLING_MEASURE
uint64_t totals[NUM_TOTALS]
uint64_t obs[NUM_SECS_ROLLING_MEASURE]
uint64_t maxima[NUM_TOTALS]