Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
vault::gear::test::anonymous_namespace{test-chain-load.hpp} Namespace Reference

Functions

uint defaultConcurrency ()
 
double _uSec (microseconds ticks)
 
template<class NOD >
auto prepareEvaluations ()
 

Variables

const size_t DEFAULT_FAN = 16
 default maximum connectivity per Node
 
const size_t DEFAULT_SIZ = 256
 default node count for the complete load graph
 
const auto SAFETY_TIMEOUT = 5s
 maximum time limit for test run, abort if exceeded
 
const auto STANDARD_DEADLINE = 30ms
 deadline to use for each individual computation job
 
const size_t DEFAULT_CHUNKSIZE = 64
 number of computation jobs to prepare in each planning round
 
const double UPFRONT_PLANNING_BOOST = 2.6
 factor to increase the computed pre-roll to ensure up-front planning
 
const size_t GRAPH_BENCHMARK_RUNS = 5
 repetition count for reference calculation of a complete node graph
 
const size_t LOAD_BENCHMARK_RUNS = 500
 repetition count for calibration benchmark for ComputationalLoad
 
const double LOAD_SPEED_BASELINE = 100
 initial assumption for calculation speed (without calibration)
 
const microseconds LOAD_DEFAULT_TIME = 100us
 default time delay produced by ComputationalLoad at Node.weight==1
 
const size_t LOAD_DEFAULT_MEM_SIZE = 1000
 default allocation base size used if ComputationalLoad.useAllocation
 
const Duration SCHEDULE_LEVEL_STEP {_uTicks(1ms)}
 time budget to plan for the calculation of each »time level« of jobs
 
const Duration SCHEDULE_NODE_STEP {Duration::NIL}
 additional time step to include in the plan for each job (node).
 
const Duration SCHEDULE_PLAN_STEP {_uTicks(100us)}
 time budget to reserve for each node to be planned and scheduled
 
const Offset SCHEDULE_WAKE_UP {_uTicks(10us)}
 tiny offset to place the final wake-up job behind any systematic schedule
 
const bool SCHED_DEPENDS = false
 explicitly schedule a dependent job (or rely on NOTIFY)
 
const bool SCHED_NOTIFY = true
 explicitly set notify dispatch time to the dependency's start time.
 

Function Documentation

◆ defaultConcurrency()

uint defaultConcurrency ( )
inline

Definition at line 198 of file test-chain-load.hpp.

References defaultConcurrency().

Referenced by defaultConcurrency().

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

◆ _uSec()

double _uSec ( microseconds  ticks)
inline

Definition at line 204 of file test-chain-load.hpp.

References _uSec().

Referenced by _uSec().

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

◆ prepareEvaluations()

template<class NOD >
auto prepareEvaluations ( )
inline

Definition at line 1015 of file test-chain-load.hpp.

References vault::gear::test::CAT, and prepareEvaluations().

Referenced by prepareEvaluations().

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

Variable Documentation

◆ DEFAULT_FAN

const size_t DEFAULT_FAN = 16

default maximum connectivity per Node

Definition at line 178 of file test-chain-load.hpp.

◆ DEFAULT_SIZ

const size_t DEFAULT_SIZ = 256

default node count for the complete load graph

Definition at line 179 of file test-chain-load.hpp.

◆ SAFETY_TIMEOUT

const auto SAFETY_TIMEOUT = 5s

maximum time limit for test run, abort if exceeded

Definition at line 181 of file test-chain-load.hpp.

◆ STANDARD_DEADLINE

const auto STANDARD_DEADLINE = 30ms

deadline to use for each individual computation job

Definition at line 182 of file test-chain-load.hpp.

◆ DEFAULT_CHUNKSIZE

const size_t DEFAULT_CHUNKSIZE = 64

number of computation jobs to prepare in each planning round

Definition at line 183 of file test-chain-load.hpp.

◆ UPFRONT_PLANNING_BOOST

const double UPFRONT_PLANNING_BOOST = 2.6

factor to increase the computed pre-roll to ensure up-front planning

Definition at line 184 of file test-chain-load.hpp.

◆ GRAPH_BENCHMARK_RUNS

const size_t GRAPH_BENCHMARK_RUNS = 5

repetition count for reference calculation of a complete node graph

Definition at line 185 of file test-chain-load.hpp.

◆ LOAD_BENCHMARK_RUNS

const size_t LOAD_BENCHMARK_RUNS = 500

repetition count for calibration benchmark for ComputationalLoad

Definition at line 186 of file test-chain-load.hpp.

◆ LOAD_SPEED_BASELINE

const double LOAD_SPEED_BASELINE = 100

initial assumption for calculation speed (without calibration)

Definition at line 187 of file test-chain-load.hpp.

◆ LOAD_DEFAULT_TIME

const microseconds LOAD_DEFAULT_TIME = 100us

default time delay produced by ComputationalLoad at Node.weight==1

Definition at line 188 of file test-chain-load.hpp.

◆ LOAD_DEFAULT_MEM_SIZE

const size_t LOAD_DEFAULT_MEM_SIZE = 1000

default allocation base size used if ComputationalLoad.useAllocation

Definition at line 189 of file test-chain-load.hpp.

◆ SCHEDULE_LEVEL_STEP

const Duration SCHEDULE_LEVEL_STEP {_uTicks(1ms)}

time budget to plan for the calculation of each »time level« of jobs

Definition at line 190 of file test-chain-load.hpp.

◆ SCHEDULE_NODE_STEP

const Duration SCHEDULE_NODE_STEP {Duration::NIL}

additional time step to include in the plan for each job (node).

Definition at line 191 of file test-chain-load.hpp.

◆ SCHEDULE_PLAN_STEP

const Duration SCHEDULE_PLAN_STEP {_uTicks(100us)}

time budget to reserve for each node to be planned and scheduled

Definition at line 192 of file test-chain-load.hpp.

◆ SCHEDULE_WAKE_UP

const Offset SCHEDULE_WAKE_UP {_uTicks(10us)}

tiny offset to place the final wake-up job behind any systematic schedule

Definition at line 193 of file test-chain-load.hpp.

◆ SCHED_DEPENDS

const bool SCHED_DEPENDS = false

explicitly schedule a dependent job (or rely on NOTIFY)

Definition at line 194 of file test-chain-load.hpp.

◆ SCHED_NOTIFY

const bool SCHED_NOTIFY = true

explicitly set notify dispatch time to the dependency's start time.

Definition at line 195 of file test-chain-load.hpp.