Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
SyncBarrier_test Class Reference

Description

Test:
verify N-fold synchronisation points by multi-thread loat-test.
  • start a huge number of TestThread
  • all those pick up the partial sum from stage1
Remarks
without coordinated synchronisation, some threads would see an incomplete sum and thus the stage2 checksum would be lower
See also
lib::SyncBarrier
steam::control::DispatcherLoop

Definition at line 106 of file sync-barrier-test.cpp.

Private Member Functions

virtual void run (Arg)
 

Additional Inherited Members

- Static Public Member Functions inherited from Test
static string firstTok (Arg)
 conveniently pick the first token from the argument line
 
static uint firstVal (Arg, uint=1)
 conveniently use some number given as argument, with optional default
 
- Public Member Functions inherited from Test
virtual ~Test ()=default
 this is an interface
 
virtual void run (Arg arg)=0
 
void seedRand ()
 draw a new random seed from a common nucleus, and re-seed the default-Gen.
 
lib::Random makeRandGen ()
 build a dedicated new RandomGen, seeded from the default-Gen
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 110 of file sync-barrier-test.cpp.

References lib::explore(), and SyncBarrier::sync().

+ Here is the call graph for this function:
+ Inheritance diagram for SyncBarrier_test:
+ Collaboration diagram for SyncBarrier_test:

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