Skip to content

Instantly share code, notes, and snippets.

@luoyetx
Created January 11, 2016 01:43
Show Gist options
  • Select an option

  • Save luoyetx/126f2c568e4bd8570e3b to your computer and use it in GitHub Desktop.

Select an option

Save luoyetx/126f2c568e4bd8570e3b to your computer and use it in GitHub Desktop.
time evaluation
#define TIMER_BEGIN { double __time__ = cv::getTickCount();
#define TIMER_NOW ((double(cv::getTickCount()) - __time__) / cv::getTickFrequency())
#define TIMER_END }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment