Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
20af242a
Commit
20af242a
authored
Oct 03, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated command line arguments in performance tests
parent
dce50b67
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
perf_core_arithm.cpp
modules/core/perf/perf_core_arithm.cpp
+2
-2
ts_perf.cpp
modules/ts/src/ts_perf.cpp
+7
-7
No files found.
modules/core/perf/perf_core_arithm.cpp
View file @
20af242a
...
...
@@ -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
modules/ts/src/ts_perf.cpp
View file @
20af242a
...
...
@@ -382,16 +382,16 @@ 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 |}"
"{ |perf_max_deviation |1.0 |}"
"{h |help |false |}"
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment