Remove unused variables from MetricRecorder.

BUG=webrtc:7209

Review-Url: https://codereview.webrtc.org/2704343004
Cr-Commit-Position: refs/heads/master@{#16831}
This commit is contained in:
terelius
2017-02-24 08:45:36 -08:00
committed by Commit bot
parent 343b71060a
commit f18847fa6a
2 changed files with 0 additions and 7 deletions

View File

@ -197,10 +197,7 @@ if (rtc_include_tests) {
":remote_bitrate_estimator",
"../..:webrtc_common",
"../../base:rtc_base_approved",
"../../test:test_common",
"../../test:test_main",
"../../test:video_test_common",
"../video_capture",
"//testing/gmock",
"//testing/gtest",
"//third_party/gflags",

View File

@ -307,10 +307,6 @@ void MetricRecorder::PlotDelayHistogram(const std::string& title,
#if BWE_TEST_LOGGING_COMPILE_TIME_ENABLE
double average_delay_ms =
static_cast<double>(sum_delays_ms_) / num_packets_received_;
// Prevent the error to be too close to zero (plotting issue).
double extra_error = average_delay_ms / 500;
double tenth_sigma_ms = DelayStdDev() / 10.0 + extra_error;
int64_t percentile_5_ms = NthDelayPercentile(5);
int64_t percentile_95_ms = NthDelayPercentile(95);