CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal Debugging API. More...
Macros | |
#define | VX_PRINT(zone, message, ...) |
The OpenVX Debugging Facility. | |
#define | VX_KERNEL_ENTRY(params, num) |
A debugging macro for entering kernels. | |
#define | VX_KERNEL_RETURN(status) |
A debugging macro for leaving kernels. | |
Enumerations | |
enum | vx_debug_zone_e { VX_ZONE_ERROR = 0 , VX_ZONE_WARNING = 1 , VX_ZONE_API = 2 , VX_ZONE_INFO = 3 , VX_ZONE_DEBUG = 4 , VX_ZONE_PERF = 5 , VX_ZONE_CONTEXT = 6 , VX_ZONE_OSAL = 7 , VX_ZONE_REFERENCE = 8 , VX_ZONE_ARRAY = 9 , VX_ZONE_IMAGE = 10 , VX_ZONE_SCALAR = 11 , VX_ZONE_KERNEL = 12 , VX_ZONE_GRAPH = 13 , VX_ZONE_NODE = 14 , VX_ZONE_PARAMETER = 15 , VX_ZONE_DELAY = 16 , VX_ZONE_TARGET = 17 , VX_ZONE_TENSOR = 18 , VX_ZONE_LOG = 19 , VX_ZONE_MAX = 32 } |
These are the bit flags for debugging. More... | |
Functions | |
void | vx_print (vx_enum zone, const char *format,...) |
Internal Printing Function. | |
void | vx_set_debug_zone (vx_enum zone) |
Sets a zone bit in the debug mask. | |
void | vx_clr_debug_zone (vx_enum zone) |
Clears the zone bit in the mask. | |
vx_bool | vx_get_debug_zone (vx_enum zone) |
Returns true or false if the zone bit is set or cleared. | |
void | vx_set_debug_zone_from_env (void) |
Pulls the debug zone mask from the environment variables. | |
The Internal Debugging API.
#define VX_KERNEL_ENTRY | ( | params, | |
num ) |
#include <vx_debug.h>
A debugging macro for entering kernels.
#define VX_KERNEL_RETURN | ( | status | ) |
#define VX_PRINT | ( | zone, | |
message, | |||
... ) |
#include <vx_debug.h>
The OpenVX Debugging Facility.
enum vx_debug_zone_e |
#include <vx_debug.h>
These are the bit flags for debugging.
void vx_clr_debug_zone | ( | vx_enum | zone | ) |
#include <vx_debug.h>
Clears the zone bit in the mask.
[in] | zone | The debug zone from vx_debug_zone_e. |
#include <vx_debug.h>
Returns true or false if the zone bit is set or cleared.
[in] | zone | The debug zone from vx_debug_zone_e. |
void vx_print | ( | vx_enum | zone, |
const char * | format, | ||
... ) |
#include <vx_debug.h>
Internal Printing Function.
[in] | zone | The debug zone from vx_debug_zone_e. |
[in] | format | The format string to print. |
[in] | ... | The variable list of arguments. |
void vx_set_debug_zone | ( | vx_enum | zone | ) |
#include <vx_debug.h>
Sets a zone bit in the debug mask.
[in] | zone | The debug zone from vx_debug_zone_e. |
void vx_set_debug_zone_from_env | ( | void | ) |
#include <vx_debug.h>
Pulls the debug zone mask from the environment variables.