8 #ifndef META_OCEAN_TEST_TESTBASE_WORKER_H
9 #define META_OCEAN_TEST_TESTBASE_WORKER_H
37 static bool test(
const double testDuration);
This class implements worker tests.
Definition: TestWorker.h:29
static bool testConstructor()
Tests the constructor.
static bool staticWorkerFunctionAbortable(double *result, bool *abort)
Static abortable worker function.
static bool staticWorkerFunctionSeparableAndAbortable(double *result, const unsigned int first, const unsigned int size, bool *abort)
Static separable and abortable worker function.
static bool testStaticWorkerSumOfSquareRoots(const double testDuration, Worker &worker)
Tests the validation of the worker calling a static function.
static bool testStaticWorker(Worker &worker)
Tests the worker calling a static function.
static void staticWorkerFunctionDelay(uint64_t *time, const unsigned int first, const unsigned int size)
Static worker function.
static bool test(const double testDuration)
Tests the entire worker functionalities.
static void staticWorkerFunctionSumOfSquareRoots(double *values, const unsigned int first, const unsigned int size)
Static worker function to calculate the sum of square root values.
static bool testStaticWorkerSumOfSquares(const double testDuration, Worker &worker)
Tests the validation of the worker calling a static function.
static bool testDelay(const double testDuration, Worker &worker)
Tests the worker delay.
static void staticWorkerFunction(const unsigned int first, const unsigned int size)
Static worker function.
static bool testSeparableAndAbortableFunction(Worker &worker)
Tests the validation of the worker calling a static separable and abortable function.
static bool testAbortableFunction(Worker &worker)
Tests the validation of the worker calling a static abortable function.
static void staticWorkerFunctionSumOfSquares(unsigned int *values, const unsigned int first, const unsigned int size)
Static worker function to calculate the sum of square values.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15