Fix Xm mode calculation to properly average N=10 modes.
commited9d60cb92efbf5bc2a3c22ade6ffee4e1c8116a
authorMike Perry <mikeperry-git@torproject.org>
Fri, 6 Nov 2020 22:30:16 +0000 (6 16:30 -0600)
committerMike Perry <mikeperry-git@torproject.org>
Thu, 18 Feb 2021 17:21:25 +0000 (18 11:21 -0600)
treedb6ccc30557aa4229b3b26e12c4b0afe7df7f7a4
parent406400a74d917ec997d26afdf4ae97d9826820fe
Fix Xm mode calculation to properly average N=10 modes.

This is still fast enough. ~100usec on my laptop with 1000 build times.
src/core/or/circuitstats.c
src/core/or/circuitstats.h