mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Lower circuit build time bin width to 10ms.
50ms is not enough resolution. CBT can be as low as 80ms in datacenter clients close to their relays.
This commit is contained in:
parent
86acd4d940
commit
406400a74d
@ -55,7 +55,7 @@ void circuit_build_times_mark_circ_as_measurement_only(origin_circuit_t *circ);
|
|||||||
#define CBT_NCIRCUITS_TO_OBSERVE 1000
|
#define CBT_NCIRCUITS_TO_OBSERVE 1000
|
||||||
|
|
||||||
/** Width of the histogram bins in milliseconds */
|
/** Width of the histogram bins in milliseconds */
|
||||||
#define CBT_BIN_WIDTH ((build_time_t)50)
|
#define CBT_BIN_WIDTH ((build_time_t)10)
|
||||||
|
|
||||||
/** Number of modes to use in the weighted-avg computation of Xm */
|
/** Number of modes to use in the weighted-avg computation of Xm */
|
||||||
#define CBT_DEFAULT_NUM_XM_MODES 3
|
#define CBT_DEFAULT_NUM_XM_MODES 3
|
||||||
|
Loading…
Reference in New Issue
Block a user