Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asteriskperf-python-wrapper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_doering
asteriskperf-python-wrapper
Commits
028377fb
Commit
028377fb
authored
Jul 09, 2015
by
Deathcrow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
6b37f272
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wrapper.py
wrapper.py
+3
-1
No files found.
wrapper.py
View file @
028377fb
...
...
@@ -267,7 +267,7 @@ for i in sender:
clean_up
()
#calculate bandwith for each sender:
#calculate bandwi
d
th for each sender:
for
key
,
i
in
enumerate
(
sender
):
last_timestamp
=
0
last_seq
=
0
...
...
@@ -286,6 +286,8 @@ for key, i in enumerate(sender):
bw
=
bw
*
8
/
1000
/
1000
# Mbps
bandwith_file
.
write
(
" "
.
join
(
line_split
[:
3
]
+
[
str
(
bw
)]
)
+
"
\n
"
)
bandwith_file
.
close
()
last_timestamp
=
float
(
line_split
[
0
])
last_seq
=
int
(
line_split
[
4
],
0
)
for
i
in
sender
:
i
[
'tcpprobe_file'
].
close
()
...
...
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