Blame view

3rdparty/opencv-4.5.4/modules/gapi/src/utils/itt.cpp 559 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  // This file is part of OpenCV project.
  // It is subject to the license terms in the LICENSE file found in the top-level directory
  // of this distribution and at http://opencv.org/license.html.
  //
  // Copyright (C) 2021 Intel Corporation
  
  // TODO: Consider using OpenCV's trace.hpp
  #if defined(OPENCV_WITH_ITT)
  #include <ittnotify.h>
  #include <opencv2/gapi/own/exports.hpp>
  
  namespace cv {
  namespace gimpl {
      GAPI_EXPORTS __itt_domain* gapi_itt_domain = __itt_domain_create("GAPI Context");
  } // namespace gimpl
  }  // namespace cv
  #endif // OPENCV_WITH_ITT