#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>
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 boost::shared_ptr<MyCallback> MyCallbackPtr |
Definition at line 33 of file benchmark.cpp.
atomic_count g_count | ( | NUM_CALLBACKS | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 35 of file benchmark.cpp.
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.
|
static |
Definition at line 13 of file benchmark.cpp.