#include <gtest/gtest.h>
#include "lockfree/free_list.h"
#include <boost/thread.hpp>
#include <set>
#include "ros/time.h"
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) |
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.