#include <or.h>
Data Fields | |
unsigned | last_adjusted_tick |
double | cell_count |
unsigned int | is_for_p_conn: 1 |
int | heap_index |
unsigned cell_ewma_t::last_adjusted_tick |
The last 'tick' at which we recalibrated cell_count.
A cell sent at exactly the start of this tick has weight 1.0. Cells sent since the start of this tick have weight greater than 1.0; ones sent earlier have less weight.
Referenced by init_circuit_base(), or_circuit_new(), and scale_single_cell_ewma().
double cell_ewma_t::cell_count |
The EWMA of the cell count.
Referenced by compare_cell_ewma_counts(), init_circuit_base(), or_circuit_new(), and scale_single_cell_ewma().
unsigned int cell_ewma_t::is_for_p_conn |
True iff this is the cell count for a circuit's previous connection.
Referenced by assert_active_circuits_ok(), cell_ewma_to_circuit(), init_circuit_base(), and or_circuit_new().
The position of the circuit within the OR connection's priority queue.
Referenced by add_cell_ewma_to_conn(), assert_active_circuits_ok(), init_circuit_base(), or_circuit_new(), and remove_cell_ewma_from_conn().