Commit 87b3861e authored by juga's avatar juga
Browse files

Change sbws scaling constant name

parent d3a94d02
from sbws.globals import (fail_hard, SCALE_CONSTANT)
from sbws.globals import (fail_hard, SBWS_SCALE_CONSTANT)
from sbws.lib.v3bwfile import V3BWFile
from sbws.lib.resultdump import load_recent_results_in_datadir
from argparse import ArgumentDefaultsHelpFormatter
......@@ -28,7 +28,7 @@ def gen_parser(sub):
# time, torflow happened to generate output that averaged to 7500 bw units
# per relay. We wanted the ability to try to be like torflow. See
p.add_argument('--scale-constant', default=SCALE_CONSTANT, type=int,
p.add_argument('--scale-constant', default=SBWS_SCALE_CONSTANT, type=int,
help='When scaling bw weights, scale them using this const '
'multiplied by the number of measured relays')
p.add_argument('--scale', action='store_true',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment