Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
s_doering
asteriskperf-python-wrapper
Commits
dcaa49cf
Commit
dcaa49cf
authored
Aug 12, 2015
by
Deathcrow
Browse files
bugfix
parent
8b4c3805
Changes
1
Show whitespace changes
Inline
Side-by-side
wrapper.py
View file @
dcaa49cf
...
...
@@ -109,9 +109,8 @@ def process_proc_tcpprobe_optimized(sender): #sampling
# collect line from tcpprobe and write to file if it belongs to a
# unprocessed (one that didn't have a line written yet) sender
line_split
=
[
tcpprobe_proc
.
readline
().
split
()
for
i
in
unprocessed_senders
]
while
len
(
unprocessed_senders
)
>
0
:
line_split
=
tcpprobe_proc
.
readline
().
split
()
line_split
=
tcpprobe_proc
.
readline
().
split
(
" "
)
time_dif
=
time
.
perf_counter
()
-
start_time
# try to match current tcpprobe line against all unprocessed senders
...
...
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