The OpenVX Specification  a73e458
Framework: Performance Measurement

Detailed Description

Defines Performance measurement and reporting interfaces.

In OpenVX, both vx_graph objects and vx_node objects track performance information. A client can query either object type using their respective vxQuery<Object> function with their attribute enumeration VX_<OBJECT>_PERFORMANCE along with a vx_perf_t structure to obtain the performance information [R00129].

vx_perf_t perf;
vxQueryNode(node, VX_NODE_PERFORMANCE, &perf, sizeof(perf));

Data Structures

struct  vx_perf_t
 The performance measurement structure. The time or durations are in units of nano seconds. More...
 

Data Structure Documentation

◆ vx_perf_t

struct vx_perf_t

The performance measurement structure. The time or durations are in units of nano seconds.

Definition at line 1615 of file vx_types.h.

Data Fields
vx_uint64 tmp Holds the last measurement.
vx_uint64 beg Holds the first measurement in a set.
vx_uint64 end Holds the last measurement in a set.
vx_uint64 sum Holds the summation of durations.
vx_uint64 avg Holds the average of the durations.
vx_uint64 min Holds the minimum of the durations.
vx_uint64 num Holds the number of measurements.
vx_uint64 max Holds the maximum of the durations.