benchmark.cpp File Reference

#include <nodelet/detail/callback_queue_manager.h>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_array.hpp>
#include <boost/unordered_map.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <boost/detail/atomic_count.hpp>
#include <vector>
#include <deque>
#include "common.h"
#include <stdint.h>
#include <boost/enable_shared_from_this.hpp>
#include "ros/callback_queue_interface.h"
#include <stdlib.h>
#include <string>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <boost/math/special_functions/round.hpp>
#include "rostime_decl.h"
#include <sys/time.h>
#include <boost/thread/shared_mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/tss.hpp>
#include <list>
#include <ros/time.h>
#include <boost/thread.hpp>
#include <cstdio>
Include dependency graph for benchmark.cpp:
This graph shows which files directly or indirectly include this file:

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.

 All Classes Namespaces Files Functions Variables Typedefs


test_nodelet
Author(s): Tully Foote
autogenerated on Fri Jan 11 11:54:00 2013