#include <frame_cost_probe.hpp>
|
| static std::vector< std::string > | check (const Summary &s, const Budget &budget, const Summary *baseline=nullptr) |
| | One human-readable line per breach of budget; empty when within it.
|
◆ FrameCostProbe() [1/2]
Attach a recording host to root for the probe's lifetime.
surface is the size the host reports (the editor's logical size).
◆ ~FrameCostProbe()
| pulp::view::FrameCostProbe::~FrameCostProbe |
( |
| ) |
|
|
inline |
◆ FrameCostProbe() [2/2]
| pulp::view::FrameCostProbe::FrameCostProbe |
( |
const FrameCostProbe & | | ) |
|
|
delete |
◆ check()
| std::vector< std::string > pulp::view::FrameCostProbe::check |
( |
const Summary & | s, |
|
|
const Budget & | budget, |
|
|
const Summary * | baseline = nullptr ) |
|
inlinestatic |
One human-readable line per breach of budget; empty when within it.
◆ clear()
| void pulp::view::FrameCostProbe::clear |
( |
| ) |
|
|
inline |
◆ frames()
| const std::vector< Frame > & pulp::view::FrameCostProbe::frames |
( |
| ) |
const |
|
inline |
◆ measure()
template<typename Fn>
| const Frame & pulp::view::FrameCostProbe::measure |
( |
Fn && | frame | ) |
|
|
inline |
Run one frame's work and record what it cost.
◆ operator=()
◆ summary()
| Summary pulp::view::FrameCostProbe::summary |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: