VPI - Vision Programming Interface

0.3.7 Release

Event.h File Reference
#include "Export.h"
#include "Status.h"
#include "Types.h"
#include <stdint.h>
+ Include dependency graph for Event.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Event creation flags
#define VPI_EVENT_DISABLE_PVA   VPI_BACKEND_DISABLE_PVA
 Event can't be used by PVA backend.
 
#define VPI_EVENT_DISABLE_CPU   VPI_BACKEND_DISABLE_CPU
 Event can't be used by CPU backend.
 
#define VPI_EVENT_DISABLE_CUDA   VPI_BACKEND_DISABLE_CUDA
 Event can't be used by CUDA backend.
 
#define VPI_EVENT_DISABLE_TIMESTAMP   0x08
 disable time-stamping of event signaled state-change for better performance
 
#define VPI_EVENT_ONLY_PVA   VPI_BACKEND_ONLY_PVA
 shared helper flags More...
 
#define VPI_EVENT_ONLY_CPU   VPI_BACKEND_ONLY_CPU
 Event can only be used by CPU backend.
 
#define VPI_EVENT_ONLY_CUDA   VPI_BACKEND_ONLY_CUDA
 Event can only be used by CUDA backend.
 
Deprecated event creation flags
#define VPI_EVENT_NO_PVA   VPI_EVENT_DISABLE_PVA
 Deprecated.
 
#define VPI_EVENT_NO_CPU   VPI_EVENT_DISABLE_CPU
 Deprecated.
 
#define VPI_EVENT_NO_CUDA   VPI_EVENT_DISABLE_CUDA
 Deprecated.
 

Functions

VPIStatus vpiEventCreate (uint32_t flags, VPIEvent *event)
 Create an event instance with the specified flags. More...
 
void vpiEventDestroy (VPIEvent event)
 Destroy an event instance as well as all resources it owns. More...
 
VPIStatus vpiEventWrapCudaEvent (CUevent cudaEvent, VPIEvent *event)
 Create an event object by wrapping around an existing CUDA CUevent object. More...
 
VPIStatus vpiEventRecord (VPIEvent event, VPIStream stream)
 Captures in the event the contents of the stream command queue at the time of this call. More...
 
VPIStatus vpiEventSync (VPIEvent event)
 Blocks the calling thread until the event is completed. More...
 
VPIStatus vpiEventQuery (VPIEvent event)
 Queries the status of all work currently captured by the event. More...
 
VPIStatus vpiEventElapsedTime (VPIEvent start, VPIEvent end, float *msec)
 Computes the elapsed time in (msec) between two completed events. More...
 

Detailed Description

Functions and structures for dealing with VPI events.

Definition in file Event.h.