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

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

Issue 2530393003: Move histogram for number of pause events to per stream. (Closed)
Patch Set: fix comment Created 4 years 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
« no previous file with comments | « no previous file | webrtc/video/send_statistics_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2364 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.TargetDelayInMs")); 2375 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.TargetDelayInMs"));
2376 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.CurrentDelayInMs")); 2376 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.CurrentDelayInMs"));
2377 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.OnewayDelayInMs")); 2377 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.OnewayDelayInMs"));
2378 2378
2379 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.EndToEndDelayInMs")); 2379 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.EndToEndDelayInMs"));
2380 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.RenderSqrtPixelsPerSecond")); 2380 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.RenderSqrtPixelsPerSecond"));
2381 2381
2382 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "EncodeTimeInMs")); 2382 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "EncodeTimeInMs"));
2383 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.DecodeTimeInMs")); 2383 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.DecodeTimeInMs"));
2384 2384
2385 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "NumberOfPauseEvents"));
2386 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "PausedTimeInPercent"));
2387
2385 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "BitrateSentInKbps")); 2388 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "BitrateSentInKbps"));
2386 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.BitrateReceivedInKbps")); 2389 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.BitrateReceivedInKbps"));
2387 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "MediaBitrateSentInKbps")); 2390 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "MediaBitrateSentInKbps"));
2388 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.MediaBitrateReceivedInKbps")); 2391 EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.MediaBitrateReceivedInKbps"));
2389 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "PaddingBitrateSentInKbps")); 2392 EXPECT_EQ(1, metrics::NumSamples(video_prefix + "PaddingBitrateSentInKbps"));
2390 EXPECT_EQ(1, 2393 EXPECT_EQ(1,
2391 metrics::NumSamples("WebRTC.Video.PaddingBitrateReceivedInKbps")); 2394 metrics::NumSamples("WebRTC.Video.PaddingBitrateReceivedInKbps"));
2392 EXPECT_EQ( 2395 EXPECT_EQ(
2393 1, metrics::NumSamples(video_prefix + "RetransmittedBitrateSentInKbps")); 2396 1, metrics::NumSamples(video_prefix + "RetransmittedBitrateSentInKbps"));
2394 EXPECT_EQ(1, metrics::NumSamples( 2397 EXPECT_EQ(1, metrics::NumSamples(
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after
4044 std::unique_ptr<VideoEncoder> encoder_; 4047 std::unique_ptr<VideoEncoder> encoder_;
4045 std::unique_ptr<VideoDecoder> decoder_; 4048 std::unique_ptr<VideoDecoder> decoder_;
4046 rtc::CriticalSection crit_; 4049 rtc::CriticalSection crit_;
4047 int recorded_frames_ GUARDED_BY(crit_); 4050 int recorded_frames_ GUARDED_BY(crit_);
4048 } test(this); 4051 } test(this);
4049 4052
4050 RunBaseTest(&test); 4053 RunBaseTest(&test);
4051 } 4054 }
4052 4055
4053 } // namespace webrtc 4056 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/send_statistics_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698