#include "unit.hpp"
#include <iostream>
#include <boost/scoped_ptr.hpp>
#include <internal/AtomicQueue.hpp>
#include <internal/AtomicMWSRQueue.hpp>
#include <Activity.hpp>
#include <RTT.hpp>
#include <base/Buffer.hpp>
#include <internal/ListLockFree.hpp>
#include <base/DataObject.hpp>
#include <internal/TsPool.hpp>
#include <os/Thread.hpp>
#include <rtt-config.h>
#include <boost/foreach.hpp>
#include <boost/lexical_cast.hpp>
Go to the source code of this file.
Classes | |
struct | AQEater< T > |
struct | AQGrower< T > |
struct | AQWorker< T > |
class | BuffersDataFlowTest::BufferReader |
class | BuffersAtomicMWMRQueueTest |
class | BuffersAtomicMWSRQueueTest |
class | BuffersDataFlowTest |
class | BuffersMPoolTest |
class | BuffersDataFlowTest::BufferWriter |
class | BuffersDataFlowTest::DataObjectReader |
class | BuffersDataFlowTest::DataObjectWriter |
class | Dummy |
struct | LLFGrower |
struct | LLFWorker |
class | ThreadPool< Worker > |
class | BuffersMPoolTest::Worker< T > |
Macros | |
#define | QS 10 |
Typedefs | |
typedef AtomicMWMRQueue< Dummy * > | MWMRQueueType |
typedef AtomicMWSRQueue< Dummy * > | MWSRQueueType |
Functions | |
void | addOne (Dummy &d) |
BOOST_AUTO_TEST_CASE (testAtomicMWMRQueue) | |
BOOST_AUTO_TEST_CASE (testAtomicMWSRQueue) | |
BOOST_AUTO_TEST_CASE (testBufLockFree) | |
BOOST_AUTO_TEST_CASE (testBufLocked) | |
BOOST_AUTO_TEST_CASE (testBufUnsync) | |
BOOST_AUTO_TEST_CASE (testDObjLockFree) | |
BOOST_AUTO_TEST_CASE (testDObjLocked) | |
BOOST_AUTO_TEST_CASE (testDObjUnSync) | |
BOOST_AUTO_TEST_CASE (testBufLockFree4Writers1Reader) | |
BOOST_AUTO_TEST_CASE (testBufLockFree4Writers4Readers) | |
BOOST_AUTO_TEST_CASE (testBufLocked4Writers4Readers) | |
BOOST_AUTO_TEST_CASE (testDObjLockFree4Writers1Reader) | |
BOOST_AUTO_TEST_CASE (testDObjLockFreeSingleWriter4Readers) | |
BOOST_AUTO_TEST_CASE (testDObjLockFree4Writers4Readers) | |
BOOST_AUTO_TEST_CASE (testDObjLockedSingleWriter4Readers) | |
BOOST_AUTO_TEST_CASE (testMemoryPool) | |
BOOST_AUTO_TEST_CASE (testMemoryPoolMultiThreaded) | |
std::ostream & | operator<< (std::ostream &os, const Dummy &d) |
void | subOne (Dummy &d) |
#define QS 10 |
Definition at line 84 of file buffers_test.cpp.
typedef AtomicMWMRQueue<Dummy*> MWMRQueueType |
Definition at line 79 of file buffers_test.cpp.
typedef AtomicMWSRQueue<Dummy*> MWSRQueueType |
Definition at line 80 of file buffers_test.cpp.
void addOne | ( | Dummy & | d | ) |
Definition at line 799 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testAtomicMWMRQueue | ) |
Single Threaded test for AtomicQueue.
Definition at line 1001 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testAtomicMWSRQueue | ) |
Single Threaded test for AtomicQueue.
Definition at line 1043 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testBufLockFree | ) |
Definition at line 1091 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testBufLocked | ) |
Definition at line 1099 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testBufUnsync | ) |
Definition at line 1107 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjLockFree | ) |
Definition at line 1115 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjLocked | ) |
Definition at line 1121 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjUnSync | ) |
Definition at line 1127 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testBufLockFree4Writers1Reader | ) |
Definition at line 1133 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testBufLockFree4Writers4Readers | ) |
Definition at line 1152 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testBufLocked4Writers4Readers | ) |
Definition at line 1173 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjLockFree4Writers1Reader | ) |
Definition at line 1194 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjLockFreeSingleWriter4Readers | ) |
Definition at line 1201 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjLockFree4Writers4Readers | ) |
Definition at line 1208 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testDObjLockedSingleWriter4Readers | ) |
Definition at line 1215 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testMemoryPool | ) |
Definition at line 1224 of file buffers_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testMemoryPoolMultiThreaded | ) |
Definition at line 1269 of file buffers_test.cpp.
std::ostream& operator<< | ( | std::ostream & | os, |
const Dummy & | d | ||
) |
Definition at line 795 of file buffers_test.cpp.
void subOne | ( | Dummy & | d | ) |
Definition at line 806 of file buffers_test.cpp.