Home
last modified time | relevance | path

Searched refs:metric_recorder_ (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dmetric_recorder_unittest.cc25 MetricRecorderTest() : metric_recorder_("Test", 0, nullptr, nullptr) {} in MetricRecorderTest()
30 MetricRecorder metric_recorder_; member in webrtc::testing::bwe::MetricRecorderTest
34 EXPECT_EQ(metric_recorder_.AverageBitrateKbps(0), 0); in TEST_F()
35 EXPECT_EQ(metric_recorder_.DelayStdDev(), 0.0); in TEST_F()
36 EXPECT_EQ(metric_recorder_.NthDelayPercentile(0), 0); in TEST_F()
37 EXPECT_EQ(metric_recorder_.NthDelayPercentile(5), 0); in TEST_F()
38 EXPECT_EQ(metric_recorder_.NthDelayPercentile(95), 0); in TEST_F()
39 EXPECT_EQ(metric_recorder_.NthDelayPercentile(100), 0); in TEST_F()
50 metric_recorder_.UpdateTimeMs(arrival_time_ms); in TEST_F()
51 metric_recorder_.PushDelayMs(kDelayMs, arrival_time_ms); in TEST_F()
[all …]
Dpacket_receiver.cc35 metric_recorder_(metric_recorder), in PacketReceiver()
41 if (metric_recorder_ != nullptr) { in PacketReceiver()
58 metric_recorder_->SetPlotInformation(prefixes, plot_delay, plot_loss); in PacketReceiver()
96 if (metric_recorder_ != nullptr) { in RunFor()
97 metric_recorder_->UpdateTimeMs(arrival_time_ms); in RunFor()
100 metric_recorder_->PlotAllDynamics(); in RunFor()
122 metric_recorder_->UpdateThroughput(bwe_receiver_->RecentKbps(), payload_size); in UpdateMetrics()
123 metric_recorder_->UpdateDelayMs(arrival_time_ms - send_time_ms); in UpdateMetrics()
124 metric_recorder_->UpdateLoss(bwe_receiver_->RecentPacketLossRatio()); in UpdateMetrics()
125 metric_recorder_->UpdateObjective(); in UpdateMetrics()
Dpacket_sender.cc28 if (metric_recorder_ != nullptr) { in Pause()
29 metric_recorder_->PauseFlow(); in Pause()
35 if (metric_recorder_ != nullptr) { in Resume()
36 metric_recorder_->ResumeFlow(paused_time_ms); in Resume()
41 metric_recorder_ = metric_recorder; in set_metric_recorder()
45 if (metric_recorder_ != nullptr) { in RecordBitrate()
48 metric_recorder_->UpdateTimeMs(clock_.TimeInMilliseconds()); in RecordBitrate()
49 metric_recorder_->UpdateSendingEstimateKbps(TargetBitrateKbps()); in RecordBitrate()
Dpacket_sender.h40 metric_recorder_(nullptr) {} in PacketSender()
63 MetricRecorder* metric_recorder_;
Dpacket_receiver.h60 MetricRecorder* metric_recorder_; variable