class cv::cuda::Event
Overview
#include <cuda.hpp> class Event { public: // enums enum CreateFlags; // construction Event(CreateFlags flags = DEFAULT); // methods bool queryIfComplete() const; void record(Stream& stream = Stream::Null()); void waitForCompletion(); static float elapsedTime( const Event& start, const Event& end ); };
Detailed Documentation
Methods
bool queryIfComplete() const
queries an event’s status
void record(Stream& stream = Stream::Null())
records an event
void waitForCompletion()
waits for an event to complete
static float elapsedTime( const Event& start, const Event& end )
computes the elapsed time between events