![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "vault/gear/block-flow.hpp"
Lightweight yet safe parametrisation of memory management.
Used as default setting and thus for most tests.
Definition at line 121 of file block-flow.hpp.
Static Public Attributes | |
| static const size_t | EPOCH_SIZ = 100 |
| Number of storage slots to fit into one »Epoch« | |
Public Attributes | |
| const Duration | DUTY_CYCLE {FSecs(1)} |
| typical relaxation time or average pre-roll to deadline | |
| const size_t | INITIAL_STREAMS = 2 |
| Number of streams with REFERENCE_FPS to expect for normal use. | |
| const double | TARGET_FILL = 0.90 |
| aim at using this fraction of Epoch space on average (slightly below 100%) | |
| const double | BOOST_FACTOR = 0.85 |
| adjust capacity by this factor on Epoch overflow/underflow events | |
| const double | DAMP_THRESHOLD = 0.08 |
| do not account for (almost) empty Epochs to avoid overshooting regulation | |
| const size_t | ACTIVITIES_PER_FRAME = 10 |
| how many Activity records are typically used to implement a single frame | |
| const size_t | REFERENCE_FPS = 25 |
| frame rate to use as reference point to relate DUTY_CYCLE and default counts | |
| const size_t | OVERLOAD_LIMIT = 60 |
| load factor over normal use where to assume saturation and limit throughput | |
|
static |
Number of storage slots to fit into one »Epoch«
Definition at line 124 of file block-flow.hpp.
| const Duration DUTY_CYCLE {FSecs(1)} |
typical relaxation time or average pre-roll to deadline
Definition at line 125 of file block-flow.hpp.
| const size_t INITIAL_STREAMS = 2 |
Number of streams with REFERENCE_FPS to expect for normal use.
Definition at line 126 of file block-flow.hpp.
| const double TARGET_FILL = 0.90 |
aim at using this fraction of Epoch space on average (slightly below 100%)
Definition at line 129 of file block-flow.hpp.
| const double BOOST_FACTOR = 0.85 |
adjust capacity by this factor on Epoch overflow/underflow events
Definition at line 130 of file block-flow.hpp.
| const double DAMP_THRESHOLD = 0.08 |
do not account for (almost) empty Epochs to avoid overshooting regulation
Definition at line 131 of file block-flow.hpp.
| const size_t ACTIVITIES_PER_FRAME = 10 |
how many Activity records are typically used to implement a single frame
Definition at line 134 of file block-flow.hpp.
| const size_t REFERENCE_FPS = 25 |
frame rate to use as reference point to relate DUTY_CYCLE and default counts
Definition at line 135 of file block-flow.hpp.
| const size_t OVERLOAD_LIMIT = 60 |
load factor over normal use where to assume saturation and limit throughput
Definition at line 136 of file block-flow.hpp.
Inheritance diagram for DefaultConfig:
Collaboration diagram for DefaultConfig: