Small runtime policy helper for budgeted work and graceful degradation. More...
#include <cstdint>#include <limits>Go to the source code of this file.
Classes | |
| struct | pulp::runtime::RuntimeBudgetPolicy |
| struct | pulp::runtime::RuntimeBudgetRequest |
| struct | pulp::runtime::RuntimeBudgetDecision |
| struct | pulp::runtime::RuntimeBudgetFrameStats |
| class | pulp::runtime::RuntimeBudgetFrame |
Namespaces | |
| namespace | pulp |
| namespace | pulp::runtime |
Enumerations | |
| enum class | pulp::runtime::RuntimeWorkLane : std::uint8_t { pulp::runtime::CriticalAudio = 0 , pulp::runtime::Interactive , pulp::runtime::Background , pulp::runtime::Opportunistic } |
| enum class | pulp::runtime::RuntimeBudgetAction : std::uint8_t { pulp::runtime::Run = 0 , pulp::runtime::Defer , pulp::runtime::Shed , pulp::runtime::Bypass } |
Functions | |
| const char * | pulp::runtime::to_string (RuntimeBudgetAction action) noexcept |
| RuntimeBudgetDecision | pulp::runtime::evaluate_runtime_budget (const RuntimeBudgetRequest &request, const RuntimeBudgetPolicy &policy={}) noexcept |
Small runtime policy helper for budgeted work and graceful degradation.