tor  0.4.2.0-alpha-dev
Functions | Variables
circuitmux_ewma.h File Reference
#include "core/or/or.h"
#include "core/or/circuitmux.h"

Go to the source code of this file.

Functions

void cmux_ewma_set_options (const or_options_t *options, const networkstatus_t *consensus)
 
void circuitmux_ewma_free_all (void)
 

Variables

circuitmux_policy_t ewma_policy
 

Detailed Description

Header file for circuitmux_ewma.c.

Definition in file circuitmux_ewma.h.

Function Documentation

◆ circuitmux_ewma_free_all()

void circuitmux_ewma_free_all ( void  )

Drop all resources held by circuitmux_ewma.c, and deinitialize the module.

Definition at line 826 of file circuitmux_ewma.c.

References ewma_ticks_initialized.

◆ cmux_ewma_set_options()

void cmux_ewma_set_options ( const or_options_t options,
const networkstatus_t consensus 
)

Adjust the global cell scale factor based on options

Definition at line 704 of file circuitmux_ewma.c.

References cell_ewma_initialize_ticks().