OpenCV
3.3.0-dev
Open Source Computer Vision
|
#include "cuda.hpp"
Public Types | |
enum | CreateFlags { DEFAULT = 0x00, BLOCKING_SYNC = 0x01, DISABLE_TIMING = 0x02, INTERPROCESS = 0x04 } |
Public Member Functions | |
Event (CreateFlags flags=DEFAULT) | |
bool | queryIfComplete () const |
queries an event's status More... | |
void | record (Stream &stream=Stream::Null()) |
records an event More... | |
void | waitForCompletion () |
waits for an event to complete More... | |
Static Public Member Functions | |
static float | elapsedTime (const Event &start, const Event &end) |
computes the elapsed time between events More... | |
Friends | |
struct | EventAccessor |
|
explicit |
computes the elapsed time between events
bool cv::cuda::Event::queryIfComplete | ( | ) | const |
queries an event's status
void cv::cuda::Event::record | ( | Stream & | stream = Stream::Null() | ) |
records an event
void cv::cuda::Event::waitForCompletion | ( | ) |
waits for an event to complete
|
friend |