summaryrefslogtreecommitdiff
path: root/test/test_intra_pred_speed.cc
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-06-12 06:27:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-06-12 06:27:45 +0000
commit07799ef28a6397fa01fff625291549cc8a98f2b7 (patch)
treeee6bb7a3b717e11c41851061e00169ffa5b0f4fc /test/test_intra_pred_speed.cc
parent33b3953c548a20c0aee705657df0440a740c28b7 (diff)
parent1898d1336dd852053afa14780bc537f077999773 (diff)
downloadlibvpx-07799ef28a6397fa01fff625291549cc8a98f2b7.tar
libvpx-07799ef28a6397fa01fff625291549cc8a98f2b7.tar.gz
libvpx-07799ef28a6397fa01fff625291549cc8a98f2b7.tar.bz2
libvpx-07799ef28a6397fa01fff625291549cc8a98f2b7.zip
Merge "test_intra_pred_speed: add ClearSystemState() call"
Diffstat (limited to 'test/test_intra_pred_speed.cc')
-rw-r--r--test/test_intra_pred_speed.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_intra_pred_speed.cc b/test/test_intra_pred_speed.cc
index c61ffff9f..d2687b204 100644
--- a/test/test_intra_pred_speed.cc
+++ b/test/test_intra_pred_speed.cc
@@ -16,6 +16,7 @@
#include "./vp9_rtcd.h"
#include "test/acm_random.h"
+#include "test/clear_system_state.h"
#include "test/md5_helper.h"
#include "vpx/vpx_integer.h"
#include "vpx_ports/mem.h"
@@ -66,6 +67,7 @@ void TestIntraPred(const char name[], VpxPredFunc const *pred_funcs,
for (int num_tests = 0; num_tests < kNumTests; ++num_tests) {
pred_funcs[k](src, kBPS, above, left);
}
+ libvpx_test::ClearSystemState();
vpx_usec_timer_mark(&timer);
const int elapsed_time =
static_cast<int>(vpx_usec_timer_elapsed(&timer) / 1000);