![]() |
Lumiera 0.pre.04
»edit your freedom«
|
unit test RandomConcurrent_test More...
Go to the source code of this file.
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>Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::test |
| Unit tests for the Lumiera support library. | |
| namespace | lib::test::anonymous_namespace{random-concurrent-test.cpp} |
Classes | |
| class | RandomConcurrent_test |
| struct | RandomConcurrent_test::Experiment< GEN, threads > |
| Research setup to investigate concurrent access to a random generator. More... | |
Functions | |
| LAUNCHER (RandomConcurrent_test, "unit common") | |
Variables | |
| const uint | NUM_THREADS = 8 |
| for concurrent probes | |
| const uint | NUM_SAMPLES = 80 |
| overall number measurement runs | |
| const uint | NUM_INVOKES = 1'000'000 |
| invocations of the target per measurement | |