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
caa27336
Commit
caa27336
authored
Apr 01, 2011
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes in gpu performance sample
parent
3f2daa1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
17 deletions
+7
-17
performance.cpp
samples/gpu/performance/performance.cpp
+0
-13
performance.h
samples/gpu/performance/performance.h
+7
-4
No files found.
samples/gpu/performance/performance.cpp
View file @
caa27336
...
...
@@ -6,19 +6,6 @@
using
namespace
std
;
using
namespace
cv
;
void
TestSystem
::
setWorkingDir
(
const
string
&
val
)
{
working_dir_
=
val
;
}
void
TestSystem
::
setTestFilter
(
const
string
&
val
)
{
test_filter_
=
val
;
}
void
TestSystem
::
run
()
{
// Run test initializers
...
...
samples/gpu/performance/performance.h
View file @
caa27336
...
...
@@ -12,8 +12,11 @@
class
Runnable
{
public
:
explicit
Runnable
(
const
std
::
string
&
name
)
:
name_
(
name
)
{}
const
std
::
string
&
name
()
const
{
return
name_
;
}
explicit
Runnable
(
const
std
::
string
&
name
)
:
name_
(
name
)
{}
virtual
~
Runnable
()
{}
const
std
::
string
&
name
()
const
{
return
name_
;
}
virtual
void
run
()
=
0
;
private
:
...
...
@@ -30,10 +33,10 @@ public:
return
me
;
}
void
setWorkingDir
(
const
std
::
string
&
val
)
;
void
setWorkingDir
(
const
std
::
string
&
val
)
{
working_dir_
=
val
;
}
const
std
::
string
&
workingDir
()
const
{
return
working_dir_
;
}
void
setTestFilter
(
const
std
::
string
&
val
)
;
void
setTestFilter
(
const
std
::
string
&
val
)
{
test_filter_
=
val
;
}
const
std
::
string
&
testFilter
()
const
{
return
test_filter_
;
}
void
addInit
(
Runnable
*
init
)
{
inits_
.
push_back
(
init
);
}
...
...
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