OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::cuda::Event 類參考

#include <opencv2/core/cuda.hpp>

cv::cuda::Event 協作圖

公共型別

列舉  CreateFlags {
  DEFAULT = 0x00 ,
  BLOCKING_SYNC = 0x01 ,
  DISABLE_TIMING = 0x02 ,
  INTERPROCESS = 0x04
}
 

公共成員函式

 Event (const Event::CreateFlags flags=Event::CreateFlags::DEFAULT)
 
bool queryIfComplete () const
 查詢事件狀態
 
void record (Stream &stream=Stream::Null())
 記錄事件
 
void waitForCompletion ()
 等待事件完成
 

靜態公共成員函式

static float elapsedTime (const Event &start, const Event &end)
 計算事件之間經過的時間
 

友元

struct EventAccessor
 

成員列舉文件

◆ CreateFlags

列舉器
預設 

預設事件標誌

阻塞同步 

Event 使用阻塞同步

停用計時 

Event 將不記錄計時資料

程序間 

Event 適用於程序間使用。必須設定DisableTiming

建構函式 & 解構函式文件

◆ Event()

cv::cuda::Event::Event ( const Event::CreateFlags flags = Event::CreateFlags::DEFAULT)
顯式
Python
cv.cuda.Event([, flags]) -> <cuda_Event object>

成員函式文件

◆ elapsedTime()

static float cv::cuda::Event::elapsedTime ( const Event & start,
const Event & end )
static
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()

void cv::cuda::Event::record ( Stream & stream = Stream::Null())
Python
cv.cuda.Event.record([, stream]) ->

記錄事件

◆ waitForCompletion()

void cv::cuda::Event::waitForCompletion ( )
Python
cv.cuda.Event.waitForCompletion() ->

等待事件完成

友元和相關符號文件

◆ EventAccessor

friend struct EventAccessor
friend

此類的文件由以下檔案生成