提交 20af242a 编写于 作者: A Andrey Kamaev

Updated command line arguments in performance tests

上级 dce50b67
......@@ -61,7 +61,7 @@ PERF_TEST_P__CORE_ARITHM_SCALAR(add, TYPICAL_MATS_CORE_ARITHM)
PERF_TEST_P__CORE_ARITHM_SCALAR(subtract, TYPICAL_MATS_CORE_ARITHM)
PERF_TEST_P__CORE_ARITHM_SCALAR(absdiff, TYPICAL_MATS_CORE_ARITHM)
#ifdef ANDROID
PERF_TEST(convert, cvRound)
{
double number = theRNG().uniform(-100, 100);
......@@ -74,4 +74,4 @@ PERF_TEST(convert, cvRound)
result += cvRound(number);
}
}
#endif
......@@ -382,17 +382,17 @@ int64 TestBase::_timeadjustment = 0;
const char *command_line_keys =
{
"{!!bugbugbugbug!! |perf_max_outliers |8 |percent of allowed outliers}"
"{!!bugbugbugbug!! |perf_min_samples |10 |minimal required numer of samples}"
"{!!bugbugbugbug!! |perf_seed |809564 |seed for random numbers generator}"
"{ |perf_max_outliers |8 |percent of allowed outliers}"
"{ |perf_min_samples |10 |minimal required numer of samples}"
"{ |perf_seed |809564 |seed for random numbers generator}"
#if ANDROID
"{!!bugbugbugbug!! |perf_time_limit |6.0 |default time limit for a single test (in seconds)}"
"{!!bugbugbugbug!! |perf_affinity_mask |0 |set affinity mask for the main thread}"
"{ |perf_time_limit |6.0 |default time limit for a single test (in seconds)}"
"{ |perf_affinity_mask |0 |set affinity mask for the main thread}"
#else
"{!!bugbugbugbug!! |perf_time_limit |3.0 |default time limit for a single test (in seconds)}"
"{ |perf_time_limit |3.0 |default time limit for a single test (in seconds)}"
#endif
"{!!bugbugbugbug!! |perf_max_deviation |1.0 |}"
"{h |help |false |}"
"{ |perf_max_deviation |1.0 |}"
"{h |help |false |}"
};
double param_max_outliers;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册