Skip to content

Commit

Permalink
router: fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiceatscion committed Nov 8, 2023
1 parent fe480c8 commit 0dcc190
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acceptance/router_benchmark/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def _run(self):

# The raw metrics are expressed in terms of core*seconds. We convert to machine*seconds
# which allows us to provide a projected packet/s; ...more intuitive than packets/core*s.
# We're interested only in br_transit traffic. We measure the rate over 10s. For best results
# we sample the end of the middle 10s of the run. "beg" is the start time of the real action
# and "end" is the end time.
# We're interested only in br_transit traffic. We measure the rate over 10s. For best
# results we sample the end of the middle 10s of the run. "beg" is the start time of the
# real action and "end" is the end time.
sampleTime = (int(beg) + int(end) + 10) / 2
promQuery = urlencode({
'time': f'{sampleTime}',
Expand Down

0 comments on commit 0dcc190

Please sign in to comment.