Lumiera  0.pre.03
»edit your freedom«
random-concurrent-test.cpp File Reference

Go to the source code of this file.

Description

unit test RandomConcurrent_test

Definition in file random-concurrent-test.cpp.

#include "lib/test/run.hpp"
#include "lib/sync-barrier.hpp"
#include "lib/random.hpp"
#include "lib/thread.hpp"
#include "lib/sync.hpp"
#include "lib/util.hpp"
#include "lib/scoped-collection.hpp"
#include "lib/test/microbenchmark.hpp"
#include "lib/format-string.hpp"
#include "lib/format-cout.hpp"
#include "lib/test/diagnostic-output.hpp"
#include <deque>
#include <tuple>

Classes

struct  RandomConcurrent_test::Experiment< GEN, threads >
 Research setup to investigate concurrent access to a random generator. More...
 
class  RandomConcurrent_test
 

Functions

 LAUNCHER (RandomConcurrent_test, "unit common")
 

Variables

const uint NUM_INVOKES = 1'000'000
 invocations of the target per measurment
 
const uint NUM_SAMPLES = 80
 overall number measurement runs
 
const uint NUM_THREADS = 8
 for concurrent probes
 

Namespaces

 lib
 Implementation namespace for support and library code.