#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 | ) -> | 返回值 |
| cv.cuda.Event_elapsedTime( | start, end | ) -> | 返回值 |
◆ queryIfComplete()
| bool cv::cuda::Event::queryIfComplete |
( |
| ) |
const |
| Python |
|---|
| cv.cuda.Event.queryIfComplete( | | ) -> | 返回值 |
◆ record()
| Python |
|---|
| cv.cuda.Event.record( | [, stream] | ) -> | None |
◆ waitForCompletion()
| void cv::cuda::Event::waitForCompletion |
( |
| ) |
|
| Python |
|---|
| cv.cuda.Event.waitForCompletion( | | ) -> | None |
◆ EventAccessor
此类的文档是从以下文件生成的: