shithub: libvpx

Download patch

ref: 07799ef28a6397fa01fff625291549cc8a98f2b7
parent: 33b3953c548a20c0aee705657df0440a740c28b7
parent: 1898d1336dd852053afa14780bc537f077999773
author: James Zern <[email protected]>
date: Fri Jun 12 02:27:44 EDT 2015

Merge "test_intra_pred_speed: add ClearSystemState() call"

--- 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 @@
     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);