Commit 11b3529b authored by Alexander Alekhin's avatar Alexander Alekhin

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

parents 53effc52 c7f420ba
...@@ -329,7 +329,7 @@ public: ...@@ -329,7 +329,7 @@ public:
glXSwapBuffers(m_display, m_window); glXSwapBuffers(m_display, m_window);
#endif #endif
print_info(mode, m_timer.time(Timer::UNITS::MSEC), m_oclDevName); print_info(mode, m_timer.time(Timer::MSEC), m_oclDevName);
} }
......
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
m_diff = cv::getTickCount() - m_t0; m_diff = cv::getTickCount() - m_t0;
} }
float time(UNITS u = UNITS::MSEC) float time(UNITS u = MSEC)
{ {
float sec = m_diff / m_tick_frequency; float sec = m_diff / m_tick_frequency;
......
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