EstervQrCode 1.1.1
Library for qr code manipulation
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
cv::cuda::Event Class Reference

#include <cuda.hpp>

Public Types

enum  CreateFlags { DEFAULT = 0x00 , BLOCKING_SYNC = 0x01 , DISABLE_TIMING = 0x02 , INTERPROCESS = 0x04 }
 

Public Member Functions

CV_WRAP Event (const Event::CreateFlags flags=Event::CreateFlags::DEFAULT)
 
CV_WRAP void record (Stream &stream=Stream::Null())
 records an event More...
 
CV_WRAP bool queryIfComplete () const
 queries an event's status More...
 
CV_WRAP void waitForCompletion ()
 waits for an event to complete More...
 

Static Public Member Functions

static CV_WRAP float elapsedTime (const Event &start, const Event &end)
 computes the elapsed time between events More...
 

Friends

struct EventAccessor
 

Member Enumeration Documentation

◆ CreateFlags

Enumerator
DEFAULT 

Default event flag

BLOCKING_SYNC 

Event uses blocking synchronization

DISABLE_TIMING 

Event will not record timing data

INTERPROCESS 

Event is suitable for interprocess use. DisableTiming must be set

Constructor & Destructor Documentation

◆ Event()

CV_WRAP cv::cuda::Event::Event ( const Event::CreateFlags  flags = Event::CreateFlags::DEFAULT)
explicit

Member Function Documentation

◆ elapsedTime()

static CV_WRAP float cv::cuda::Event::elapsedTime ( const Event start,
const Event end 
)
static

computes the elapsed time between events

◆ queryIfComplete()

CV_WRAP bool cv::cuda::Event::queryIfComplete ( ) const

queries an event's status

◆ record()

CV_WRAP void cv::cuda::Event::record ( Stream stream = Stream::Null())

records an event

◆ waitForCompletion()

CV_WRAP void cv::cuda::Event::waitForCompletion ( )

waits for an event to complete

Friends And Related Function Documentation

◆ EventAccessor

friend struct EventAccessor
friend

The documentation for this class was generated from the following file: