Includes the time(ms) that spent in network to test results.
Bug: None Change-Id: I7af7055b924e3f68b0fd4ebb633190246275159f Reviewed-on: https://webrtc-review.googlesource.com/50400 Commit-Queue: Ying Wang <yinwa@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21975}
This commit is contained in:
parent
2d40ad3f04
commit
338bd62ab4
@ -750,6 +750,7 @@ class VideoAnalyzer : public PacketReceiver,
|
||||
PrintResult("ssim", ssim_, " score");
|
||||
PrintResult("sender_time", sender_time_, " ms");
|
||||
PrintResult("receiver_time", receiver_time_, " ms");
|
||||
PrintResult("network_time", network_time_, " ms");
|
||||
PrintResult("total_delay_incl_network", end_to_end_, " ms");
|
||||
PrintResult("time_between_rendered_frames", rendered_delta_, " ms");
|
||||
PrintResult("encode_frame_rate", encode_frame_rate_, " fps");
|
||||
@ -864,6 +865,8 @@ class VideoAnalyzer : public PacketReceiver,
|
||||
// recv_time_ms != 0, even though the media packets were lost.
|
||||
receiver_time_.AddSample(comparison.render_time_ms -
|
||||
comparison.recv_time_ms);
|
||||
network_time_.AddSample(comparison.recv_time_ms -
|
||||
comparison.send_time_ms);
|
||||
}
|
||||
end_to_end_.AddSample(comparison.render_time_ms - comparison.input_time_ms);
|
||||
encoded_frame_size_.AddSample(comparison.encoded_frame_size);
|
||||
@ -999,6 +1002,7 @@ class VideoAnalyzer : public PacketReceiver,
|
||||
std::vector<Sample> samples_ RTC_GUARDED_BY(comparison_lock_);
|
||||
test::Statistics sender_time_ RTC_GUARDED_BY(comparison_lock_);
|
||||
test::Statistics receiver_time_ RTC_GUARDED_BY(comparison_lock_);
|
||||
test::Statistics network_time_ RTC_GUARDED_BY(comparison_lock_);
|
||||
test::Statistics psnr_ RTC_GUARDED_BY(comparison_lock_);
|
||||
test::Statistics ssim_ RTC_GUARDED_BY(comparison_lock_);
|
||||
test::Statistics end_to_end_ RTC_GUARDED_BY(comparison_lock_);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user