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
150ce4db
Commit
150ce4db
authored
Jan 25, 2021
by
juga
Browse files
fixup! chg: generate, cleanup: Use 28 days of measurements
parent
750b7342
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/core/generate.py
View file @
150ce4db
...
...
@@ -60,11 +60,9 @@ def gen_parser(sub):
help
=
"Number of most significant digits to round bw."
)
p
.
add_argument
(
'-p'
,
'--secs-recent'
,
default
=
None
,
type
=
int
,
help
=
"How many secs in the past are results being "
"still considered. Default is {}. If not scaling as "
"Torflow the default is data_period in the "
"configuration."
.
format
(
ceil
(
GENERATE_PERIOD
/
24
/
60
/
60
))
)
"still considered. Default is {} secs. If not scaling "
"as Torflow the default is data_period in the "
"configuration."
.
format
(
GENERATE_PERIOD
))
p
.
add_argument
(
'-a'
,
'--secs-away'
,
default
=
DAY_SECS
,
type
=
int
,
help
=
"How many secs results have to be away from each "
"other."
)
...
...
Write
Preview
Markdown
is supported
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