Add cpu measurements to VideoProcessorIntegrationTest.

Remove unused method ExcludeFrameTypesToStr.

Bug: webrtc:6634
Change-Id: I2816466ed428b8ce13f3073ca496c2891d5d6368
Reviewed-on: https://webrtc-review.googlesource.com/9400
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20350}
This commit is contained in:
Åsa Persson
2017-10-19 12:14:09 +02:00
committed by Commit Bot
parent ea7a3f8225
commit 7173cf20cc
7 changed files with 71 additions and 28 deletions

View File

@ -115,6 +115,7 @@ class VideoProcessorIntegrationTest : public testing::Test {
TestConfig config_;
private:
class CpuProcessTime;
static const int kMaxNumTemporalLayers = 3;
struct TestResults {
@ -195,6 +196,7 @@ class VideoProcessorIntegrationTest : public testing::Test {
std::unique_ptr<PacketManipulator> packet_manipulator_;
Stats stats_;
std::unique_ptr<VideoProcessor> processor_;
std::unique_ptr<CpuProcessTime> cpu_process_time_;
// Quantities updated for every encoded frame.
TestResults actual_;