Switched to TEST_CYCLE_MULTIRUN for fast tests

This commit is contained in:
Anna Kogan
2013-02-06 14:53:33 +04:00
parent 6ebb0e2ad2
commit a567c03fdf
8 changed files with 18 additions and 13 deletions

View File

@@ -52,7 +52,8 @@ PERF_TEST_P( Size_MatType_CmpType, compareScalar,
declare.in(src1, src2, WARMUP_RNG).out(dst);
TEST_CYCLE() cv::compare(src1, src2, dst, cmpType);
int runs = (sz.width <= 640) ? 8 : 1;
TEST_CYCLE_MULTIRUN(runs) cv::compare(src1, src2, dst, cmpType);
SANITY_CHECK(dst);
}