Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
aa1dd5ad
Commit
aa1dd5ad
authored
May 23, 2018
by
juga
Committed by
Matt Traudt
Jun 05, 2018
Browse files
Round earliest/latest bw unix timestamp
parent
8051e29e
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
aa1dd5ad
...
...
@@ -168,11 +168,11 @@ class V3BwHeader(object):
@
staticmethod
def
lastest_bandwidth_from_results
(
results
):
return
max
([
r
.
time
for
fp
in
results
for
r
in
results
[
fp
]])
return
round
(
max
([
r
.
time
for
fp
in
results
for
r
in
results
[
fp
]])
)
@
staticmethod
def
earliest_bandwidth_from_results
(
results
):
return
min
([
r
.
time
for
fp
in
results
for
r
in
results
[
fp
]])
return
round
(
min
([
r
.
time
for
fp
in
results
for
r
in
results
[
fp
]])
)
@
classmethod
def
from_results
(
cls
,
conf
,
results
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment