#include <opencv2/core/cuda.hpp>
◆ CreateFlags
枚举器 |
---|
DEFAULT | 默认事件标志
|
BLOCKING_SYNC | Event 使用阻塞同步
|
DISABLE_TIMING | Event 不会记录计时数据
|
INTERPROCESS | Event 适合于进程间使用。必须设置 DisableTiming
|
◆ Event()
Python |
---|
| cv.cuda.Event( | [, flags] | ) -> | <cuda_Event 对象> |
◆ 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 |
◆ queryIfComplete()
bool cv::cuda::Event::queryIfComplete |
( |
| ) |
const |
Python |
---|
| cv.cuda.Event.queryIfComplete( | | ) -> | retval |
◆ record()
Python |
---|
| cv.cuda.Event.record( | [, stream] | ) -> | None |
◆ waitForCompletion()
void cv::cuda::Event::waitForCompletion |
( |
| ) |
|
Python |
---|
| cv.cuda.Event.waitForCompletion( | | ) -> | None |
◆ EventAccessor
此类的文档是从以下文件生成的