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< MyCallbackMyCallbackPtr
 

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

◆ MyCallbackPtr

Definition at line 33 of file benchmark.cpp.

Function Documentation

◆ g_count()

atomic_count g_count ( NUM_CALLBACKS  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 35 of file benchmark.cpp.

Variable Documentation

◆ g_cond

boost::condition_variable g_cond

Definition at line 17 of file benchmark.cpp.

◆ g_mutex

boost::mutex g_mutex

Definition at line 16 of file benchmark.cpp.

◆ NUM_CALLBACKS

const long NUM_CALLBACKS = 1e7
static

Definition at line 13 of file benchmark.cpp.



test_nodelet
Author(s): Tully Foote, Michael Carroll
autogenerated on Fri Nov 15 2024 03:38:16