The OpenVX Specification  a73e458
VX_GRAPH_ Attributes

Detailed Description

The Attributes that may be queried for a graph.

Macros

#define VX_GRAPH_NUMNODES   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_GRAPH, 0x0))
 Returns the number of nodes in a graph. Read-only. Use a vx_uint32 parameter.
 
#define VX_GRAPH_NUMPARAMETERS   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_GRAPH, 0x3))
 Returns the number of explicitly declared parameters on the graph. Read-only. Use a vx_uint32 parameter.
 
#define VX_GRAPH_PERFORMANCE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_GRAPH, 0x2))
 Returns the overall performance of the graph. Read-only. Use a vx_perf_t parameter. The accuracy of timing information is platform dependent. More...
 
#define VX_GRAPH_STATE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_GRAPH, 0x4))
 Returns the state of the graph. See VX_GRAPH_STATE Constants enum.
 

Macro Definition Documentation

◆ VX_GRAPH_PERFORMANCE

#define VX_GRAPH_PERFORMANCE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_GRAPH, 0x2))

Returns the overall performance of the graph. Read-only. Use a vx_perf_t parameter. The accuracy of timing information is platform dependent.

Note
Performance tracking must have been enabled. See List of allowed directives

Definition at line 702 of file vx_types.h.