OpenCV  4.1.0
Open Source Computer Vision
Namespaces | Macros
trace.hpp File Reference
#include <opencv2/core/cvdef.h>

Namespaces

namespace  cv
 "black box" representation of the file storage associated with a file on disk.
 
namespace  cv::utils
 
namespace  cv::utils::trace
 

Macros

#define __OPENCV_TRACE   0
 
#define CV_TRACE_ARG(arg_id)
 Macro to trace argument value.
 
#define CV_TRACE_ARG   CV__TRACE_ARG
 Macro to trace argument value.
 
#define CV_TRACE_ARG_VALUE(arg_id, arg_name, value)
 Macro to trace argument value (expanded version)
 
#define CV_TRACE_ARG_VALUE(arg_id, arg_name, value)
 Macro to trace argument value (expanded version)
 
#define CV_TRACE_ARG_VALUE_VERBOSE(...)
 
#define CV_TRACE_ARG_VERBOSE(...)
 
#define CV_TRACE_FILENAME   __FILE__
 
#define CV_TRACE_FUNCTION()
 Macro to trace function.
 
#define CV_TRACE_FUNCTION   CV__TRACE_APP_FUNCTION
 Macro to trace function.
 
#define CV_TRACE_FUNCTION_SKIP_NESTED()
 
#define CV_TRACE_FUNCTION_SKIP_NESTED   CV__TRACE_APP_FUNCTION_SKIP_NESTED
 
#define CV_TRACE_FUNCTION_VERBOSE(...)
 
#define CV_TRACE_NS   cv::utils::trace
 
#define CV_TRACE_REGION(name_as_static_string_literal)
 
#define CV_TRACE_REGION   CV__TRACE_REGION
 
#define CV_TRACE_REGION_NEXT(name_as_static_string_literal)
 
#define CV_TRACE_REGION_NEXT   CV__TRACE_REGION_NEXT
 
#define CV_TRACE_REGION_NEXT_VERBOSE(...)
 
#define CV_TRACE_REGION_VERBOSE(...)
 

Macro Definition Documentation

#define __OPENCV_TRACE   0
#define CV_TRACE_ARG (   arg_id)

Macro to trace argument value.

#define CV_TRACE_ARG   CV__TRACE_ARG

Macro to trace argument value.

#define CV_TRACE_ARG_VALUE (   arg_id,
  arg_name,
  value 
)

Macro to trace argument value (expanded version)

#define CV_TRACE_ARG_VALUE (   arg_id,
  arg_name,
  value 
)
Value:
if (__region_fn.isActive()) \
{ \
CV__TRACE_ARG_VALUE(arg_id, arg_name, value); \
}

Macro to trace argument value (expanded version)

#define CV_TRACE_ARG_VALUE_VERBOSE (   ...)
#define CV_TRACE_ARG_VERBOSE (   ...)
#define CV_TRACE_FILENAME   __FILE__
#define CV_TRACE_FUNCTION ( )

Macro to trace function.

#define CV_TRACE_FUNCTION   CV__TRACE_APP_FUNCTION

Macro to trace function.

#define CV_TRACE_FUNCTION_SKIP_NESTED ( )
#define CV_TRACE_FUNCTION_SKIP_NESTED   CV__TRACE_APP_FUNCTION_SKIP_NESTED
#define CV_TRACE_FUNCTION_VERBOSE (   ...)
#define CV_TRACE_NS   cv::utils::trace
#define CV_TRACE_REGION (   name_as_static_string_literal)

Trace code scope.

Note
Dynamic names are not supported in this macro (on stack or heap). Use string literals here only, like "initialize".
#define CV_TRACE_REGION   CV__TRACE_REGION

Trace code scope.

Note
Dynamic names are not supported in this macro (on stack or heap). Use string literals here only, like "initialize".
#define CV_TRACE_REGION_NEXT (   name_as_static_string_literal)

mark completed of the current opened region and create new one

Note
Dynamic names are not supported in this macro (on stack or heap). Use string literals here only, like "step1".
#define CV_TRACE_REGION_NEXT   CV__TRACE_REGION_NEXT

mark completed of the current opened region and create new one

Note
Dynamic names are not supported in this macro (on stack or heap). Use string literals here only, like "step1".
#define CV_TRACE_REGION_NEXT_VERBOSE (   ...)
#define CV_TRACE_REGION_VERBOSE (   ...)