56 #ifndef NV_VPI_EVENT_H
57 #define NV_VPI_EVENT_H
102 #define VPI_EVENT_DISABLE_TIMESTAMP (1 << 18)
117 #if NV_VPI_VERSION_API_IS(1, 0)
118 __asm__(
".symver vpiEventCreate,vpiEventCreate@VPI_1.0");
Declaration of VPI status codes handling functions.
Defines all types needed for programming with VPI.
struct VPIEventImpl * VPIEvent
A handle to an event.
VPIStatus vpiEventElapsedTimeMillis(VPIEvent start, VPIEvent end, float *msec)
Computes the elapsed time in (msec) between two completed events.
VPIStatus vpiEventQuery(VPIEvent event, VPIEventState *state)
Queries the status of all work currently captured by the event.
VPIStatus vpiEventGetFlags(VPIEvent event, uint32_t *flags)
Returns the event flags passed during event creation.
VPIStatus vpiEventRecord(VPIEvent event, VPIStream stream)
Captures in the event the contents of the stream command queue at the time of this call.
VPIStatus vpiEventSync(VPIEvent event)
Blocks the calling thread until the event is signaled.
VPIStatus vpiEventCreate(uint32_t flags, VPIEvent *event)
Create an event instance with the specified flags.
void vpiEventDestroy(VPIEvent event)
Destroy an event instance as well as all resources it owns.
struct VPIStreamImpl * VPIStream
A handle to a stream.
VPIEventState
Defines the states of the event.