#include <font_flight_recorder.hpp>
◆ capacity()
| std::size_t pulp::canvas::FontFlightRecorder::capacity |
( |
| ) |
const |
|
noexcept |
◆ clear()
| void pulp::canvas::FontFlightRecorder::clear |
( |
| ) |
|
Drop all buffered records.
◆ drain()
Snapshot + clear the buffered records. Returns oldest-first.
◆ instance()
| FontFlightRecorder & pulp::canvas::FontFlightRecorder::instance |
( |
| ) |
|
|
static |
◆ record_fallback()
Append a resolution event.
No-op when capacity() == 0. When the buffer is full, the oldest record is dropped to make room.
◆ set_capacity()
| void pulp::canvas::FontFlightRecorder::set_capacity |
( |
std::size_t | capacity | ) |
|
Set the ring-buffer capacity.
0 disables recording. Default 1024. Shrinking drops the oldest entries.
◆ size()
| std::size_t pulp::canvas::FontFlightRecorder::size |
( |
| ) |
const |
|
noexcept |
Number of records currently buffered.
◆ snapshot()
Snapshot only (does not clear). Returns oldest-first.
The documentation for this class was generated from the following file: