cvedia::rt::ProcessingStatistics¶
Public Types¶
| Name | |
|---|---|
| using std::chrono::steady_clock | Clock |
Public Functions¶
| Name | |
|---|---|
| void | recordFrame(Clock::time_point now =Clock::now()) |
| uint64_t | getFramesProcessed() const |
| float | getFrameRate(Clock::time_point now =Clock::now()) const |
| void | reset() |
Public Types Documentation¶
using Clock¶
using Clock = std::chrono::steady_clock;
Public Functions Documentation¶
function recordFrame¶
inline void recordFrame(
Clock::time_point now =Clock::now()
)
function getFramesProcessed¶
inline uint64_t getFramesProcessed() const
function getFrameRate¶
inline float getFrameRate(
Clock::time_point now =Clock::now()
) const
function reset¶
inline void reset()