Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
vault::gear::test Namespace Reference

Namespaces

namespace  anonymous_namespace{activity-detector.hpp}
 
namespace  anonymous_namespace{block-flow-test.cpp}
 
namespace  anonymous_namespace{scheduler-commutator-test.cpp}
 
namespace  anonymous_namespace{scheduler-interface-test.cpp}
 
namespace  anonymous_namespace{scheduler-service-test.cpp}
 
namespace  anonymous_namespace{special-job-fun-test.cpp}
 
namespace  anonymous_namespace{test-chain-load-test.cpp}
 
namespace  anonymous_namespace{test-chain-load.hpp}
 
namespace  anonymous_namespace{work-force-test.cpp}
 
namespace  bench
 

Typedefs

typedef SchedulerFrontend::JobTransaction JobTransaction
 
using Capacity = LoadController::Capacity
 
using Wiring = LoadController::Wiring
 
using VecU = std::vector< uint >
 
using LevelSums = std::array< uint, CAT >
 

Classes

class  ActivityDetector
 Diagnostic context to record and evaluate activations within the Scheduler. More...
 
class  ActivityDetector_test
 
class  ActivityMatch
 
class  BlockFlow_test
 
class  ChainFunctor
 Baseclass: JobFunctor to invoke TestChainLoad. More...
 
class  ComputationalLoad
 A calibratable CPU load to be invoked from a node job functor. More...
 
struct  Indicator
 Distribution indicators for one kind of evaluation. More...
 
struct  LevelWeight
 
class  RandomChainCalcFunctor
 Render JobFunctor to invoke the calculation of a single Node. More...
 
class  RandomChainPlanFunctor
 Render JobFunctor to perform chunk wise planning of Node jobs to calculate a complete Chain-Load graph step by step. More...
 
class  SchedulerActivity_test
 
class  SchedulerCommutator_test
 
class  SchedulerInterface_test
 
class  SchedulerInvocation_test
 
class  SchedulerLoadControl_test
 
class  SchedulerService_test
 
class  SchedulerStress_test
 
class  SchedulerUsage_test
 
class  SpecialJobFun_test
 
struct  Statistic
 Statistic data calculated for a given chain-load topology. More...
 
struct  StatKey
 
class  StressTestRig
 Configurable template framework for running Scheduler Stress tests Use to build a custom setup class, which is then injected to perform a specific measurement tool. More...
 
class  TestChainLoad
 A Generator for synthetic Render Jobs for Scheduler load testing. More...
 
class  TestChainLoad_test
 
class  WorkForce_test
 

Functions

 LAUNCHER (SchedulerInterface_test, "unit engine")
 Register this test class...
 
 LAUNCHER (ActivityDetector_test, "unit engine")
 Register this test class...
 
 LAUNCHER (BlockFlow_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerActivity_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerCommutator_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerInvocation_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerLoadControl_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerService_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerStress_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SchedulerUsage_test, "unit engine")
 Register this test class...
 
 LAUNCHER (SpecialJobFun_test, "unit engine")
 Register this test class...
 
 LAUNCHER (TestChainLoad_test, "unit engine")
 Register this test class...
 
double computeWeightFactor (LevelWeight const &lw, uint concurrency)
 simplified model for expense of a level of nodes, computed concurrently.
 
SpecialJobFun onetimeCrunch (milliseconds runTime)
 a »throw-away« render-job
 
 LAUNCHER (WorkForce_test, "unit engine")
 Register this test class...
 

Variables

const StatKey STAT_NODE {0,"node"}
 all nodes
 
const StatKey STAT_SEED {1,"seed"}
 seed node
 
const StatKey STAT_EXIT {2,"exit"}
 exit node
 
const StatKey STAT_INNR {3,"innr"}
 inner node
 
const StatKey STAT_FORK {4,"fork"}
 forking node
 
const StatKey STAT_JOIN {5,"join"}
 joining node
 
const StatKey STAT_LINK {6,"link"}
 1:1 linking node
 
const StatKey STAT_KNOT {7,"knot"}
 knot (joins and forks)
 
const StatKey STAT_WGHT {8,"wght"}
 node weight
 
const std::array KEYS = {STAT_NODE,STAT_SEED,STAT_EXIT,STAT_INNR,STAT_FORK,STAT_JOIN,STAT_LINK,STAT_KNOT,STAT_WGHT}
 
const uint CAT = KEYS.size()
 
const uint IDX_SEED = 1
 

Typedef Documentation

◆ JobTransaction

◆ Capacity

◆ Wiring

Definition at line 36 of file scheduler-load-control-test.cpp.

◆ VecU

using VecU = std::vector<uint>

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

◆ LevelSums

using LevelSums = std::array<uint, CAT>

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


Class Documentation

◆ vault::gear::test::LevelWeight

struct vault::gear::test::LevelWeight
Class Members
size_t level {0}
size_t nodes {0}
size_t endidx {0}
size_t weight {0}
+ Collaboration diagram for LevelWeight:

Function Documentation

◆ LAUNCHER() [1/13]

LAUNCHER ( SchedulerInterface_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [2/13]

LAUNCHER ( ActivityDetector_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [3/13]

LAUNCHER ( BlockFlow_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [4/13]

LAUNCHER ( SchedulerActivity_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [5/13]

LAUNCHER ( SchedulerCommutator_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [6/13]

LAUNCHER ( SchedulerInvocation_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [7/13]

LAUNCHER ( SchedulerLoadControl_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [8/13]

LAUNCHER ( SchedulerService_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [9/13]

LAUNCHER ( SchedulerStress_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [10/13]

LAUNCHER ( SchedulerUsage_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [11/13]

LAUNCHER ( SpecialJobFun_test  ,
"unit engine"   
)

Register this test class...

◆ LAUNCHER() [12/13]

LAUNCHER ( TestChainLoad_test  ,
"unit engine"   
)

Register this test class...

◆ computeWeightFactor()

double computeWeightFactor ( LevelWeight const &  lw,
uint  concurrency 
)
inline

simplified model for expense of a level of nodes, computed concurrently.

Remarks
assumptions of this model
  • weight factor describes expense to compute a node
  • nodes on the same level can be parallelised without limitation
  • no consideration of stacking / ordering of tasks; rather the speed-up is applied as an average factor to the summed node weights for a level
Returns
guess for a compounded weight factor

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

References LevelWeight::nodes, and LevelWeight::weight.

Referenced by TestChainLoad< maxFan >::calcExpectedCompoundedWeight(), TestChainLoad< maxFan >::levelScheduleSequence(), and TestChainLoad_test::verify_adjusted_schedule().

+ Here is the caller graph for this function:

◆ onetimeCrunch()

SpecialJobFun onetimeCrunch ( milliseconds  runTime)
inline

a »throw-away« render-job

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

References ComputationalLoad::invoke(), ComputationalLoad::maybeCalibrate(), and ComputationalLoad::timeBase.

Referenced by SchedulerService_test::simpleUsage().

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

◆ LAUNCHER() [13/13]

LAUNCHER ( WorkForce_test  ,
"unit engine"   
)

Register this test class...

Variable Documentation

◆ STAT_NODE

◆ STAT_SEED

◆ STAT_EXIT

◆ STAT_INNR

const StatKey STAT_INNR {3,"innr"}

inner node

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

◆ STAT_FORK

◆ STAT_JOIN

◆ STAT_LINK

◆ STAT_KNOT

const StatKey STAT_KNOT {7,"knot"}

knot (joins and forks)

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

Referenced by TestChainLoad_test::showcase_StablePattern().

◆ STAT_WGHT

const StatKey STAT_WGHT {8,"wght"}

node weight

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

◆ KEYS

◆ CAT

◆ IDX_SEED

const uint IDX_SEED = 1