Keeps the first kMaxSamples frame durations.
More...
#include <host_frame_timing.hpp>
|
| void | record (double frame_ms) |
| const std::vector< double > & | samples () const noexcept |
Keeps the first kMaxSamples frame durations.
A live window runs for hours, so the record stops growing rather than tracking every frame forever; a headless capture finishes long before the cap.
◆ record()
| void pulp::view::HostFrameTimeRecorder::record |
( |
double | frame_ms | ) |
|
|
inline |
◆ samples()
| const std::vector< double > & pulp::view::HostFrameTimeRecorder::samples |
( |
| ) |
const |
|
inlinenoexcept |
◆ kMaxSamples
| std::size_t pulp::view::HostFrameTimeRecorder::kMaxSamples = 4096 |
|
staticconstexpr |
The documentation for this class was generated from the following file: