1 /* * Copyright (c) 2012-2016, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
5 * \file circuitmux_ewma.h
6 * \brief Header file for circuitmux_ewma.c
9 #ifndef TOR_CIRCUITMUX_EWMA_H
10 #define TOR_CIRCUITMUX_EWMA_H
13 #include "circuitmux.h"
15 extern circuitmux_policy_t ewma_policy
;
17 /* Externally visible EWMA functions */
18 int cell_ewma_enabled(void);
19 unsigned int cell_ewma_get_tick(void);
20 void cell_ewma_set_scale_factor(const or_options_t
*options
,
21 const networkstatus_t
*consensus
);
23 #endif /* TOR_CIRCUITMUX_EWMA_H */