Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py

Issue 2360053003: Fixig issues in bwe plot dynamics. (Closed)
Patch Set: adding overuse logs to plot_dynamics Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py
diff --git a/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py b/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py
old mode 100644
new mode 100755
index 1bae1e81f03b075814ae4031a491e3865302686a..3d79bccf99ec52132891a5f5c7bff3406d74d291
--- a/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py
+++ b/webrtc/modules/remote_bitrate_estimator/test/plot_dynamics.py
@@ -49,11 +49,14 @@ class Variable(object):
def addSample(self, line):
- groups = re.search(r'_(((\d)+((,(\d)+)*))_(\D+))#\d@(\S+)', line)
+ if '#' not in line:
+ return
stefan-webrtc 2016/09/23 13:49:41 Is this still needed?
Gaetano Carlucci 2016/09/23 14:05:36 no. thanks
+
+ groups = re.search(r'_(((\d)+((,(\d)+)*))_(\D+))#\d:(\d)@(\S+)', line)
# Each variable will be plotted in a separated box.
var_name = groups.group(1)
- alg_name = groups.group(8)
+ alg_name = groups.group(9)
alg_name = alg_name.replace('_', ' ')

Powered by Google App Engine
This is Rietveld 408576698