Class cv::cuda::Event#
#include <opencv2/core/cuda.hpp>Collaboration diagram for cv::cuda::Event:
Public Types#
enum CreateFlags {
DEFAULT = 0x00,
BLOCKING_SYNC = 0x01,
DISABLE_TIMING = 0x02,
INTERPROCESS = 0x04
}Friends#
Return |
Name |
Description |
|---|---|---|
|
Member Enumeration Documentation#
enum CreateFlags
|
Default event flag |
|
Event uses blocking synchronization |
|
Event will not record timing data |
|
Event is suitable for interprocess use. DisableTiming must be set |
Constructor & Destructor Documentation#
Event()#
cv::cuda::Event::Event(const Event::CreateFlags flags = Event::CreateFlags::DEFAULT)
Python:
Event()#
cv::cuda::Event::Event(const Ptr< Impl > & impl)
Python:
Member Function Documentation#
queryIfComplete()#
bool cv::cuda::Event::queryIfComplete()
Python:
cv.cuda.Event.queryIfComplete() -> retval
queries an event’s status
record()#
void cv::cuda::Event::record(Stream & stream = Stream::Null())
Python:
cv.cuda.Event.record([, stream])
records an event
waitForCompletion()#
void cv::cuda::Event::waitForCompletion()
Python:
cv.cuda.Event.waitForCompletion()
waits for an event to complete
elapsedTime()#
static float cv::cuda::Event::elapsedTime(
const Event & start,
const Event & end )
Python:
cv.cuda.Event.elapsedTime(start, end) -> retval
cv.cuda.Event_elapsedTime(start, end) -> retval
computes the elapsed time between events
Member Data Documentation#
impl_#
Source file#
The documentation for this class was generated from the following file:
opencv2/core/cuda.hpp