add multiruns to fix "unreliable results" error

This commit is contained in:
Sergei Nosov
2013-06-13 21:14:42 +04:00
parent 98f6a4a615
commit c90abb6a03
6 changed files with 14 additions and 9 deletions

View File

@@ -63,7 +63,8 @@ PERF_TEST_P( TestRemap, Remap,
declare.in(src, WARMUP_RNG).out(dst).time(20);
TEST_CYCLE() remap(src, dst, map1, map2, inter_type);
int runs = (sz.width <= 640) ? 3 : 1;
TEST_CYCLE_MULTIRUN(runs) remap(src, dst, map1, map2, inter_type);
SANITY_CHECK(dst);
}