Tor 0.4.9.1-alpha-dev
|
Declaration for bw_array_t structure and related constants. More...
Go to the source code of this file.
Data Structures | |
struct | bw_array_t |
Macros | |
#define | NUM_SECS_ROLLING_MEASURE 10 |
#define | NUM_SECS_BW_SUM_INTERVAL (24*60*60) |
#define | NUM_SECS_BW_SUM_IS_VALID (5*24*60*60) |
#define | NUM_TOTALS (NUM_SECS_BW_SUM_IS_VALID/NUM_SECS_BW_SUM_INTERVAL) |
Declaration for bw_array_t structure and related constants.
Definition in file bw_array_st.h.
#define NUM_SECS_BW_SUM_INTERVAL (24*60*60) |
How large are the intervals for which we track and report bandwidth use?
Definition at line 19 of file bw_array_st.h.
#define NUM_SECS_BW_SUM_IS_VALID (5*24*60*60) |
How far in the past do we remember and publish bandwidth use?
Definition at line 21 of file bw_array_st.h.
#define NUM_SECS_ROLLING_MEASURE 10 |
For how many seconds do we keep track of individual per-second bandwidth totals?
Definition at line 17 of file bw_array_st.h.
#define NUM_TOTALS (NUM_SECS_BW_SUM_IS_VALID/NUM_SECS_BW_SUM_INTERVAL) |
How many bandwidth usage intervals do we remember? (derived)
Definition at line 23 of file bw_array_st.h.