Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Strategy< CONF > Struct Template Reference

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

Description

template<class CONF>
struct vault::gear::blockFlow::Strategy< CONF >

Policy template to mix into the BlockFlow allocator, providing the parametrisation for self-regulation.

Definition at line 154 of file block-flow.hpp.

Public Member Functions

CONF const & config () const
 
size_t framesPerEpoch () const
 
size_t initialFrameRate () const
 
Duration initialEpochStep () const
 
size_t initialEpochCnt () const
 < reserve allocation headroom for two duty cycles
 
size_t averageEpochs () const
 
double boostFactor () const
 
double boostFactorOverflow () const
 < reduced logarithmically, since overflow is detected on individual allocations
 
Duration timeStep_cutOff () const
 < prevent stalling Epoch progression when reaching saturation
 

Member Function Documentation

◆ config()

template<class CONF >
CONF const & config ( ) const
inline

Definition at line 157 of file block-flow.hpp.

Referenced by Strategy< CONF >::boostFactor(), Strategy< CONF >::boostFactorOverflow(), Strategy< CONF >::framesPerEpoch(), Strategy< CONF >::initialEpochCnt(), Strategy< CONF >::initialFrameRate(), and Strategy< CONF >::timeStep_cutOff().

+ Here is the caller graph for this function:

◆ framesPerEpoch()

template<class CONF >
size_t framesPerEpoch ( ) const
inline

Definition at line 164 of file block-flow.hpp.

References Strategy< CONF >::config().

Referenced by BlockFlow< CONF >::announceAdditionalFlow(), Strategy< CONF >::initialEpochStep(), and BlockFlow_test::storageFlow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initialFrameRate()

template<class CONF >
size_t initialFrameRate ( ) const
inline

Definition at line 170 of file block-flow.hpp.

References Strategy< CONF >::config().

Referenced by BlockFlow_test::announceLoad(), and Strategy< CONF >::initialEpochStep().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initialEpochStep()

template<class CONF >
Duration initialEpochStep ( ) const
inline

Definition at line 176 of file block-flow.hpp.

References Strategy< CONF >::framesPerEpoch(), Strategy< CONF >::initialFrameRate(), and TimeValue::SCALE.

Referenced by Strategy< CONF >::initialEpochCnt(), and Strategy< CONF >::timeStep_cutOff().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initialEpochCnt()

template<class CONF >
size_t initialEpochCnt ( ) const
inline

< reserve allocation headroom for two duty cycles

Definition at line 182 of file block-flow.hpp.

References Strategy< CONF >::config(), Strategy< CONF >::initialEpochStep(), and util::max().

Referenced by Strategy< CONF >::averageEpochs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ averageEpochs()

template<class CONF >
size_t averageEpochs ( ) const
inline

Definition at line 188 of file block-flow.hpp.

References Strategy< CONF >::initialEpochCnt(), and util::max().

Referenced by BlockFlow< CONF >::markEpochUnderflow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boostFactor()

template<class CONF >
double boostFactor ( ) const
inline

Definition at line 194 of file block-flow.hpp.

References Strategy< CONF >::config().

Referenced by BlockFlow< CONF >::markEpochUnderflow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boostFactorOverflow()

template<class CONF >
double boostFactorOverflow ( ) const
inline

< reduced logarithmically, since overflow is detected on individual allocations

Definition at line 200 of file block-flow.hpp.

References Strategy< CONF >::config().

+ Here is the call graph for this function:

◆ timeStep_cutOff()

template<class CONF >
Duration timeStep_cutOff ( ) const
inline

< prevent stalling Epoch progression when reaching saturation

Definition at line 206 of file block-flow.hpp.

References Strategy< CONF >::config(), and Strategy< CONF >::initialEpochStep().

+ Here is the call graph for this function:
+ Inheritance diagram for Strategy< CONF >:
+ Collaboration diagram for Strategy< CONF >:

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