| Index: webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc
|
| index 33dae8d8e4c6f8daae5ffee2b4383c2833ecbb93..9114eada413a61cd9f492734b1dbe2137f6cf8f3 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc
|
| @@ -12,10 +12,10 @@
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "webrtc/base/checks.h"
|
| +#include "webrtc/base/timeutils.h"
|
| #include "webrtc/common_video/include/video_image.h"
|
| #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
|
| #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h"
|
| -#include "webrtc/system_wrappers/include/tick_util.h"
|
| #include "webrtc/test/testsupport/fileutils.h"
|
| #include "webrtc/test/testsupport/metrics/video_metrics.h"
|
| #include "webrtc/tools/simple_command_line_parser.h"
|
| @@ -158,7 +158,7 @@ int SequenceCoder(webrtc::test::CommandLineParser* parser) {
|
| decoder->RegisterDecodeCompleteCallback(&decoder_callback);
|
| // Read->Encode->Decode sequence.
|
| // num_frames = -1 implies unlimited encoding (entire sequence).
|
| - int64_t starttime = webrtc::TickTime::MillisecondTimestamp();
|
| + int64_t starttime = rtc::Time64();
|
| int frame_cnt = 1;
|
| int frames_processed = 0;
|
| input_frame.CreateEmptyFrame(width, height, width, half_width, half_width);
|
| @@ -176,7 +176,7 @@ int SequenceCoder(webrtc::test::CommandLineParser* parser) {
|
| ++frame_cnt;
|
| }
|
| printf("\nProcessed %d frames\n", frames_processed);
|
| - int64_t endtime = webrtc::TickTime::MillisecondTimestamp();
|
| + int64_t endtime = rtc::Time64();
|
| int64_t totalExecutionTime = endtime - starttime;
|
| printf("Total execution time: %.2lf ms\n",
|
| static_cast<double>(totalExecutionTime));
|
|
|