NVIDIA DeepStream SDK API Reference

8.0 Release
nv::EventTimer Class Reference

Detailed Description

Definition at line 20 of file timer.hpp.

Public Member Functions

 EventTimer ()
 
virtual ~EventTimer ()
 
void start (cudaStream_t stream)
 
float stop (const char *prefix="timer")
 

Constructor & Destructor Documentation

◆ EventTimer()

nv::EventTimer::EventTimer ( )
inline

Definition at line 22 of file timer.hpp.

References checkRuntime.

◆ ~EventTimer()

virtual nv::EventTimer::~EventTimer ( )
inlinevirtual

Definition at line 27 of file timer.hpp.

References checkRuntime.

Member Function Documentation

◆ start()

void nv::EventTimer::start ( cudaStream_t  stream)
inline

Definition at line 32 of file timer.hpp.

References checkRuntime.

◆ stop()

float nv::EventTimer::stop ( const char *  prefix = "timer")
inline

Definition at line 34 of file timer.hpp.

References checkRuntime.


The documentation for this class was generated from the following file: