Merge pull request #5146 from avershov:fix-issue-5122

This commit is contained in:
Alexander Alekhin 2015-08-07 10:55:08 +00:00
commit 11b3529b39
2 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@ public:
glXSwapBuffers(m_display, m_window);
#endif
print_info(mode, m_timer.time(Timer::UNITS::MSEC), m_oclDevName);
print_info(mode, m_timer.time(Timer::MSEC), m_oclDevName);
}

View File

@ -56,7 +56,7 @@ public:
m_diff = cv::getTickCount() - m_t0;
}
float time(UNITS u = UNITS::MSEC)
float time(UNITS u = MSEC)
{
float sec = m_diff / m_tick_frequency;