test_freelist.cpp File Reference

#include <gtest/gtest.h>
#include "lockfree/free_list.h"
#include <boost/thread.hpp>
#include <set>
#include "ros/time.h"
Include dependency graph for test_freelist.cpp:

Go to the source code of this file.

Classes

struct  PerfCounter

Functions

int main (int argc, char **argv)
 TEST (FreeList, hasOutstandingAllocations)
 TEST (FreeList, multipleThreads)
 TEST (FreeList, multipleElements)
 TEST (FreeList, oneElement)
void threadFunc (FreeList &pool, ros::atomic< bool > &done, ros::atomic< bool > &failed, boost::barrier &b)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 267 of file test_freelist.cpp.

TEST ( FreeList  ,
hasOutstandingAllocations   
)

Definition at line 242 of file test_freelist.cpp.

TEST ( FreeList  ,
multipleThreads   
)

Definition at line 178 of file test_freelist.cpp.

TEST ( FreeList  ,
multipleElements   
)

Definition at line 63 of file test_freelist.cpp.

TEST ( FreeList  ,
oneElement   
)

Definition at line 47 of file test_freelist.cpp.

void threadFunc ( FreeList pool,
ros::atomic< bool > &  done,
ros::atomic< bool > &  failed,
boost::barrier &  b 
)

Definition at line 126 of file test_freelist.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines


lockfree
Author(s): Josh Faust
autogenerated on Fri Jan 11 09:40:14 2013