TIOVX User Guide
|
APIs for debug operations on the host.
Defines | |
#define | VX_PRINT(zone, message, ...) do { tivx_print(((vx_enum)zone), "[%s:%u] " message, __FUNCTION__, __LINE__, ## __VA_ARGS__); } while (1 == 0) |
The OpenVX Debugging Facility. | |
Enumerations | |
enum | tivx_debug_zone_e { VX_ZONE_ERROR = 0, VX_ZONE_WARNING = 1, VX_ZONE_API = 2, VX_ZONE_INFO = 3, VX_ZONE_PERF = 4, VX_ZONE_CONTEXT = 5, VX_ZONE_OSAL = 6, VX_ZONE_REFERENCE = 7, VX_ZONE_ARRAY = 8, VX_ZONE_IMAGE = 9, VX_ZONE_SCALAR = 10, VX_ZONE_KERNEL = 11, VX_ZONE_GRAPH = 12, VX_ZONE_NODE = 13, VX_ZONE_PARAMETER = 14, VX_ZONE_DELAY = 15, VX_ZONE_TARGET = 16, VX_ZONE_LOG = 17, VX_ZONE_INIT = 18, VX_ZONE_OPTIMIZATION = 19 } |
These are the bit flags for debugging. More... | |
Functions | |
void | tivx_print (vx_enum zone, const char *format,...) |
Internal Printing Function. More... | |
void | tivx_set_debug_zone (vx_enum zone) |
Sets a zone bit in the debug mask. More... | |
void | tivx_clr_debug_zone (vx_enum zone) |
Clears the zone bit in the mask. More... | |
vx_bool | tivx_get_debug_zone (vx_enum zone) |
Returns true or false if the zone bit is set or cleared. More... | |
enum tivx_debug_zone_e |
These are the bit flags for debugging.
Definition at line 85 of file tivx_debug.h.
void tivx_print | ( | vx_enum | zone, |
const char * | format, | ||
... | |||
) |
Internal Printing Function.
[in] | zone | The debug zone from tivx_debug_zone_e. |
[in] | format | The format string to print. |
[in] | ... | The variable list of arguments. |
void tivx_set_debug_zone | ( | vx_enum | zone | ) |
Sets a zone bit in the debug mask.
[in] | zone | The debug zone from tivx_debug_zone_e. |
void tivx_clr_debug_zone | ( | vx_enum | zone | ) |
Clears the zone bit in the mask.
[in] | zone | The debug zone from tivx_debug_zone_e. |
Returns true or false if the zone bit is set or cleared.
[in] | zone | The debug zone from tivx_debug_zone_e. |