Made perf tests record module name, selected implementation and number of threads.

This commit is contained in:
Roman Donchenko
2013-06-18 18:40:55 +04:00
parent 936236e4b1
commit b581f27249
2 changed files with 11 additions and 3 deletions

View File

@@ -734,6 +734,11 @@ void TestBase::Init(const std::vector<std::string> & availableImpls,
_timeadjustment = _calibrate();
}
void TestBase::RecordRunParameters()
{
::testing::Test::RecordProperty("cv_implementation", param_impl);
::testing::Test::RecordProperty("cv_num_threads", param_threads);
}
std::string TestBase::getSelectedImpl()
{