Classes | Functions | Variables
ts_PeriodicThread.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <icl_core/BaseTypes.h>
#include <icl_core/internal_raw_debug.h>
#include <icl_core/os_lxrt.h>
#include <icl_core/TimeSpan.h>
#include <icl_core/TimeStamp.h>
#include <icl_core_thread/PeriodicThread.h>
Include dependency graph for ts_PeriodicThread.cpp:

Go to the source code of this file.

Classes

class  BurnThread
class  PeriodicTestThread

Functions

 BOOST_AUTO_TEST_CASE (RunPeriodicThread_1s)
 BOOST_AUTO_TEST_CASE (RunPeriodicThread_100ms)
void runPeriodicThread (const TimeSpan &period, size_t runs, const TimeSpan &max_deviation, const TimeSpan &mean_deviation, bool burn=false)

Variables

const icl_core::TimeSpan cBURN_THREAD_PERIOD (0, 100000000)
const icl_core::ThreadPriority cBURN_THREAD_PRIORITY = 8
const double cMAX_DEVIATION_FACTOR = 1
const double cMEAN_DEVIATION_FACTOR = 1
const size_t cNUMBER_OF_BURN_THREADS = 10
const icl_core::ThreadPriority cRUN_THREAD_PRIORITY = 18
const icl_core::ThreadPriority cTEST_THREAD_PRIORITY = 19

Detailed Description

Author:
Klaus Uhl <uhl@fzi.de>
Date:
2009-12-30

Definition in file ts_PeriodicThread.cpp.


Function Documentation

BOOST_AUTO_TEST_CASE ( RunPeriodicThread_1s  )

Definition at line 192 of file ts_PeriodicThread.cpp.

BOOST_AUTO_TEST_CASE ( RunPeriodicThread_100ms  )

Definition at line 198 of file ts_PeriodicThread.cpp.

void runPeriodicThread ( const TimeSpan period,
size_t  runs,
const TimeSpan max_deviation,
const TimeSpan mean_deviation,
bool  burn = false 
)

Definition at line 143 of file ts_PeriodicThread.cpp.


Variable Documentation

Definition at line 53 of file ts_PeriodicThread.cpp.

const double cMAX_DEVIATION_FACTOR = 1

Definition at line 55 of file ts_PeriodicThread.cpp.

const double cMEAN_DEVIATION_FACTOR = 1

Definition at line 56 of file ts_PeriodicThread.cpp.

const size_t cNUMBER_OF_BURN_THREADS = 10

Definition at line 57 of file ts_PeriodicThread.cpp.

Definition at line 54 of file ts_PeriodicThread.cpp.

Definition at line 52 of file ts_PeriodicThread.cpp.



schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Fri Aug 28 2015 12:59:20