OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |