Classes | Typedefs | Functions | Variables
benchmark.cpp File Reference
#include <nodelet/detail/callback_queue_manager.h>
#include <nodelet/detail/callback_queue.h>
#include <ros/callback_queue.h>
#include <ros/time.h>
#include <boost/thread.hpp>
#include <boost/detail/atomic_count.hpp>
#include <cstdio>
Include dependency graph for benchmark.cpp:

Go to the source code of this file.

Classes

class  MyCallback

Typedefs

typedef boost::shared_ptr
< MyCallback
MyCallbackPtr

Functions

atomic_count g_count (NUM_CALLBACKS)
int main (int argc, char **argv)

Variables

boost::condition_variable g_cond
boost::mutex g_mutex
static const long NUM_CALLBACKS = 1e7

Typedef Documentation

typedef boost::shared_ptr<MyCallback> MyCallbackPtr

Definition at line 33 of file benchmark.cpp.


Function Documentation

atomic_count g_count ( NUM_CALLBACKS  )
int main ( int  argc,
char **  argv 
)

Definition at line 35 of file benchmark.cpp.


Variable Documentation

boost::condition_variable g_cond

Definition at line 17 of file benchmark.cpp.

boost::mutex g_mutex

Definition at line 16 of file benchmark.cpp.

const long NUM_CALLBACKS = 1e7 [static]

Definition at line 13 of file benchmark.cpp.



test_nodelet
Author(s): Tully Foote
autogenerated on Sat Dec 28 2013 17:14:49