Commit caa27336 authored by Alexey Spizhevoy's avatar Alexey Spizhevoy

minor changes in gpu performance sample

parent 3f2daa1d
......@@ -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
......
......@@ -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); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment