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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h

Issue 1253473004: BWE Simulation Framework: Standard plot logging (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments addressed [2] Created 5 years, 5 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/bwe_test_framework.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
index d62e6d0e2468a49e1f22f023e8f31440331f9ed3..ceaa6373ff8fb9f03a910fe2ef9744b5dea5a893 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h
@@ -252,14 +252,17 @@ class RateCounterFilter : public PacketProcessor {
public:
RateCounterFilter(PacketProcessorListener* listener,
int flow_id,
- const char* name);
+ const char* name,
+ const std::string& plot_name);
RateCounterFilter(PacketProcessorListener* listener,
const FlowIds& flow_ids,
- const char* name);
+ const char* name,
+ const std::string& plot_name);
RateCounterFilter(PacketProcessorListener* listener,
const FlowIds& flow_ids,
const char* name,
- int64_t start_plotting_time_ms);
+ int64_t start_plotting_time_ms,
+ const std::string& plot_name);
virtual ~RateCounterFilter();
void LogStats();
@@ -272,6 +275,8 @@ class RateCounterFilter : public PacketProcessor {
Stats<double> kbps_stats_;
std::string name_;
int64_t start_plotting_time_ms_;
+ // Algorithm name if single flow, Total link utilization if all flows.
+ std::string plot_name_;
DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter);
};

Powered by Google App Engine
This is Rietveld 408576698