Lumiera  0.pre.03
»edit your freedom«
DefaultConfig Struct Reference

#include "vault/gear/block-flow.hpp"

Description

Lightweight yet safe parametrisation of memory management.

Used as default setting and thus for most tests.

Definition at line 130 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 size_t ACTIVITIES_PER_FRAME = 10
 how many Activity records are typically used to implement a single frame
 
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 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 size_t OVERLOAD_LIMIT = 60
 load factor over normal use where to assume saturation and limit throughput
 
const size_t REFERENCE_FPS = 25
 frame rate to use as reference point to relate DUTY_CYCLE and default counts
 
const double TARGET_FILL = 0.90
 aim at using this fraction of Epoch space on average (slightly below 100%)
 
+ Inheritance diagram for DefaultConfig:
+ Collaboration diagram for DefaultConfig:

The documentation for this struct was generated from the following file: