![]() |
Lumiera 0.pre.04
»edit your freedom«
|
unit test CallQueue_test More...
Go to the source code of this file.
unit test CallQueue_test
Definition in file call-queue-test.cpp.
#include "lib/test/run.hpp"#include "lib/scoped-collection.hpp"#include "lib/sync-barrier.hpp"#include "lib/thread.hpp"#include "lib/sync.hpp"#include "lib/util.hpp"#include "lib/call-queue.hpp"#include <string>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{call-queue-test.cpp} |
Classes | |
| struct | Dummy< i > |
| class | CallQueue_test |
| struct | CallQueue_test::Worker |
Functions | |
| template<uint i> | |
| void | increment (Dummy< i > &&dummy) |
| LAUNCHER (CallQueue_test, "unit common") | |
| Register this test class... | |
Variables | |
| uint const | NUM_OF_THREADS = 50 |
| uint const | MAX_RAND_INCMT = 200 |
| uint const | MAX_RAND_STEPS = 500 |
| uint const | MAX_RAND_DELAY = 1000 |
| uint | calc_sum = 0 |
| uint | ctor_sum = 0 |
| uint | dtor_sum = 0 |