perf: test-based metrics collection strategy

This commit is contained in:
Alexander Alekhin
2013-12-02 21:36:08 +04:00
parent 90c230678e
commit fe01bc21c0
3 changed files with 42 additions and 21 deletions

View File

@@ -70,7 +70,7 @@ static const char * impls[] =
int main(int argc, char ** argv)
{
::perf::TestBase::setPerformanceStrategy(::perf::PERF_STRATEGY_SIMPLE);
::perf::TestBase::setModulePerformanceStrategy(::perf::PERF_STRATEGY_SIMPLE);
CV_PERF_TEST_MAIN_INTERNALS(ocl, impls, dumpOpenCLDevice())
}