Commit 8c919ed2 authored by Dikay900's avatar Dikay900

samples: gpu: fix include of TickMeter

parent 50c9367d
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
#include "opencv2/cudacodec.hpp" #include "opencv2/cudacodec.hpp"
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#include "tick_meter.hpp"
int main(int argc, const char* argv[]) int main(int argc, const char* argv[])
{ {
if (argc != 2) if (argc != 2)
...@@ -39,7 +41,7 @@ int main(int argc, const char* argv[]) ...@@ -39,7 +41,7 @@ int main(int argc, const char* argv[])
std::vector<double> cpu_times; std::vector<double> cpu_times;
std::vector<double> gpu_times; std::vector<double> gpu_times;
cv::TickMeter tm; TickMeter tm;
for (int i = 1;; ++i) for (int i = 1;; ++i)
{ {
......
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