Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CPUnetLOG
CPUnetLOG
Commits
0db58382
Commit
0db58382
authored
Jul 30, 2014
by
Mario Hock
Browse files
..
just some todos..
parent
5fde64b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
curses_display.py
View file @
0db58382
...
@@ -24,6 +24,12 @@ rounding_digits = 2
...
@@ -24,6 +24,12 @@ rounding_digits = 2
unit
=
"MBits"
unit
=
"MBits"
## TODO ideas..
# - total (GB transferred)
# - other (CPU usage)
## TODO idea: smoothing..?
def
_format_net_speed
(
speed
):
def
_format_net_speed
(
speed
):
return
str
(
round
(
speed
/
divisor
,
rounding_digits
)
)
return
str
(
round
(
speed
/
divisor
,
rounding_digits
)
)
...
...
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