|
Tor 0.4.9.8
|
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.
Referenced by bw_array_new(), bwhist_fill_bandwidth_history(), bwhist_get_one_bandwidth_line(), bwhist_load_bwhist_state_section(), bwhist_update_bwhist_state_section(), commit_max(), and find_largest_max().
| #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.
Referenced by advance_obs(), bwhist_bandwidth_assess(), bwhist_load_bwhist_state_section(), and bwhist_update_bwhist_state_section().
| #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.
Referenced by bwhist_fill_bandwidth_history(), bwhist_load_bwhist_state_section(), bwhist_update_bwhist_state_section(), commit_max(), and find_largest_max().