Remove unused tbb::task_scheduler_init from perf tests

pull/42/head
Andrey Kamaev 12 years ago
parent c3881ede62
commit 3ffe0f0117
  1. 5
      modules/ts/include/opencv2/ts/ts_perf.hpp
  2. 3
      modules/ts/src/ts_perf.cpp

@ -346,11 +346,6 @@ private:
friend class _declareHelper;
friend class Regression;
#ifdef HAVE_TBB
cv::Ptr<tbb::task_scheduler_init> p_tbb_initializer;
#else
cv::Ptr<int> fixme;
#endif
bool verified;
public:

@ -1088,9 +1088,6 @@ void TestBase::TearDown()
if (type_param) printf("[ TYPE ] \t%s\n", type_param), fflush(stdout);
reportMetrics(true);
}
#ifdef HAVE_TBB
p_tbb_initializer.release();
#endif
}
std::string TestBase::getDataPath(const std::string& relativePath)

Loading…
Cancel
Save