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

@@ -26,8 +26,8 @@ PERF_TEST_P( Size_Depth_Channels, split,
randu(m, 0, 255);
vector<Mat> mv;
TEST_CYCLE() split(m, (vector<Mat>&)mv);
int runs = (sz.width <= 640) ? 8 : 1;
TEST_CYCLE_MULTIRUN(runs) split(m, (vector<Mat>&)mv);
SANITY_CHECK(mv, 1e-12);
}