Lumiera  0.pre.03
»edit your freedom«
call-queue-test.cpp File Reference

Go to the source code of this file.

Description

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>

Classes

class  CallQueue_test
 
struct  Dummy< i >
 
struct  CallQueue_test::Worker
 

Functions

template<uint i>
void increment (Dummy< i > &&dummy)
 
 LAUNCHER (CallQueue_test, "unit common")
 Register this test class... More...
 

Variables

uint calc_sum = 0
 
uint ctor_sum = 0
 
uint dtor_sum = 0
 
uint const MAX_RAND_DELAY = 1000
 
uint const MAX_RAND_INCMT = 200
 
uint const MAX_RAND_STEPS = 500
 
uint const NUM_OF_THREADS = 50
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Function Documentation

◆ LAUNCHER()

lib::test::LAUNCHER ( CallQueue_test  ,
"unit common"   
)

Register this test class...