diff --git a/samples/gpu/video_writer.cpp b/samples/gpu/video_writer.cpp index 33d6abbf03..5a48c69aab 100644 --- a/samples/gpu/video_writer.cpp +++ b/samples/gpu/video_writer.cpp @@ -11,6 +11,8 @@ #include "opencv2/cudacodec.hpp" #include "opencv2/highgui.hpp" +#include "tick_meter.hpp" + int main(int argc, const char* argv[]) { if (argc != 2) @@ -39,7 +41,7 @@ int main(int argc, const char* argv[]) std::vector cpu_times; std::vector gpu_times; - cv::TickMeter tm; + TickMeter tm; for (int i = 1;; ++i) {