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

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 1169543005: Add sent framerates to histogram stats: (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1628 "WebRTC.Video.KeyFramesSentInPermille")); 1628 "WebRTC.Video.KeyFramesSentInPermille"));
1629 EXPECT_EQ(1, test::NumHistogramSamples( 1629 EXPECT_EQ(1, test::NumHistogramSamples(
1630 "WebRTC.Video.KeyFramesReceivedInPermille")); 1630 "WebRTC.Video.KeyFramesReceivedInPermille"));
1631 1631
1632 EXPECT_EQ(1, test::NumHistogramSamples( 1632 EXPECT_EQ(1, test::NumHistogramSamples(
1633 "WebRTC.Video.SentPacketsLostInPercent")); 1633 "WebRTC.Video.SentPacketsLostInPercent"));
1634 EXPECT_EQ(1, test::NumHistogramSamples( 1634 EXPECT_EQ(1, test::NumHistogramSamples(
1635 "WebRTC.Video.ReceivedPacketsLostInPercent")); 1635 "WebRTC.Video.ReceivedPacketsLostInPercent"));
1636 1636
1637 EXPECT_EQ(1, test::NumHistogramSamples( 1637 EXPECT_EQ(1, test::NumHistogramSamples(
1638 "WebRTC.Video.InputFramesPerSecond"));
1639 EXPECT_EQ(1, test::NumHistogramSamples(
1640 "WebRTC.Video.SentFramesPerSecond"));
1641 EXPECT_EQ(1, test::NumHistogramSamples(
1638 "WebRTC.Video.DecodedFramesPerSecond")); 1642 "WebRTC.Video.DecodedFramesPerSecond"));
1639 1643
1640 EXPECT_EQ(1, test::NumHistogramSamples( 1644 EXPECT_EQ(1, test::NumHistogramSamples(
1641 "WebRTC.Video.BitrateSentInKbps")); 1645 "WebRTC.Video.BitrateSentInKbps"));
1642 EXPECT_EQ(1, test::NumHistogramSamples( 1646 EXPECT_EQ(1, test::NumHistogramSamples(
1643 "WebRTC.Video.BitrateReceivedInKbps")); 1647 "WebRTC.Video.BitrateReceivedInKbps"));
1644 EXPECT_EQ(1, test::NumHistogramSamples( 1648 EXPECT_EQ(1, test::NumHistogramSamples(
1645 "WebRTC.Video.MediaBitrateSentInKbps")); 1649 "WebRTC.Video.MediaBitrateSentInKbps"));
1646 EXPECT_EQ(1, test::NumHistogramSamples( 1650 EXPECT_EQ(1, test::NumHistogramSamples(
1647 "WebRTC.Video.MediaBitrateReceivedInKbps")); 1651 "WebRTC.Video.MediaBitrateReceivedInKbps"));
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 EXPECT_TRUE(default_receive_config.rtp.rtx.empty()) 2833 EXPECT_TRUE(default_receive_config.rtp.rtx.empty())
2830 << "Enabling RTX requires rtpmap: rtx negotiation."; 2834 << "Enabling RTX requires rtpmap: rtx negotiation.";
2831 EXPECT_TRUE(default_receive_config.rtp.extensions.empty()) 2835 EXPECT_TRUE(default_receive_config.rtp.extensions.empty())
2832 << "Enabling RTP extensions require negotiation."; 2836 << "Enabling RTP extensions require negotiation.";
2833 2837
2834 VerifyEmptyNackConfig(default_receive_config.rtp.nack); 2838 VerifyEmptyNackConfig(default_receive_config.rtp.nack);
2835 VerifyEmptyFecConfig(default_receive_config.rtp.fec); 2839 VerifyEmptyFecConfig(default_receive_config.rtp.fec);
2836 } 2840 }
2837 2841
2838 } // namespace webrtc 2842 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/send_statistics_proxy.h » ('j') | webrtc/video/send_statistics_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698