Lumiera
0.pre.03
»edit your freedom«
|
Typedefs | |
using | FinalFun = std::function< work::SIG_FinalHook > |
using | WorkFun = std::function< work::SIG_WorkFun > |
Functions | |
template<class FUN > | |
auto | setup (FUN &&workFun) |
Helper: setup a Worker-Pool configuration for the test. More... | |
auto vault::gear::test::anonymous_namespace{work-force-test.cpp}::setup | ( | FUN && | workFun | ) |
Helper: setup a Worker-Pool configuration for the test.
Derived from the default configuration, it allows to bind a lambda as work-functor and to tweak other parameters.
Definition at line 53 of file work-force-test.cpp.
References Config::DISMISS_CYCLES, vault::gear::anonymous_namespace{scheduler.hpp}::DISMISS_CYCLES, Config::IDLE_WAIT, and vault::gear::anonymous_namespace{scheduler.hpp}::IDLE_WAIT.
Referenced by Scheduler::connectMonitoring(), Epoch< ALO >::EpochGate::EpochGate(), SchedulerLoadControl_test::indicateAverageLoad(), WiringFactory::operator()(), WorkForce_test::simpleUsage(), WorkForce_test::verify_countActive(), WorkForce_test::verify_defaultPool(), WorkForce_test::verify_detectError(), WorkForce_test::verify_finalHook(), WorkForce_test::verify_pullWork(), WorkForce_test::verify_scalePool(), WorkForce_test::verify_workerDismiss(), WorkForce_test::verify_workerHalt(), WorkForce_test::verify_workerRetard(), WorkForce_test::verify_workerSleep(), and DispatcherLooper_test::verifyBuilderStart().