$search

perf_roscpp::intra::ThroughputTest Class Reference

List of all members.

Classes

struct  ReceiveThreadResult
struct  SendThreadResult

Public Member Functions

ThroughputResult run ()
 ThroughputTest (double test_duration, uint32_t streams, uint32_t message_size, uint32_t sender_threads, uint32_t receiver_threads)

Private Member Functions

void callback (const ThroughputMessageConstPtr &msg)
void receiveThread (boost::barrier *all_started, boost::barrier *all_start, ros::WallTime *end_time)
void sendThread (boost::barrier *all_connected)

Private Attributes

uint32_t message_size_
boost::mutex mutex_
std::vector< ros::Publisherpubs_
ros::CallbackQueue queue_
std::vector< boost::shared_ptr
< ReceiveThreadResult > > 
receive_results_
boost::thread_specific_ptr
< ReceiveThreadResult
receive_thread_result_
boost::thread_group receive_threads_
uint32_t receiver_threads_
std::vector< boost::shared_ptr
< SendThreadResult > > 
send_results_
boost::thread_specific_ptr
< SendThreadResult
send_thread_result_
boost::thread_group send_threads_
uint32_t sender_threads_
uint32_t streams_
double test_duration_

Detailed Description

Definition at line 51 of file intra.cpp.


Constructor & Destructor Documentation

perf_roscpp::intra::ThroughputTest::ThroughputTest ( double  test_duration,
uint32_t  streams,
uint32_t  message_size,
uint32_t  sender_threads,
uint32_t  receiver_threads 
)

Definition at line 99 of file intra.cpp.


Member Function Documentation

void perf_roscpp::intra::ThroughputTest::callback ( const ThroughputMessageConstPtr &  msg  )  [private]

Definition at line 108 of file intra.cpp.

void perf_roscpp::intra::ThroughputTest::receiveThread ( boost::barrier *  all_started,
boost::barrier *  all_start,
ros::WallTime end_time 
) [private]

Definition at line 120 of file intra.cpp.

ThroughputResult perf_roscpp::intra::ThroughputTest::run (  ) 

Definition at line 219 of file intra.cpp.

void perf_roscpp::intra::ThroughputTest::sendThread ( boost::barrier *  all_connected  )  [private]

Definition at line 147 of file intra.cpp.


Member Data Documentation

Definition at line 94 of file intra.cpp.

Definition at line 64 of file intra.cpp.

Definition at line 87 of file intra.cpp.

Definition at line 86 of file intra.cpp.

Definition at line 74 of file intra.cpp.

Definition at line 73 of file intra.cpp.

Definition at line 89 of file intra.cpp.

Definition at line 96 of file intra.cpp.

std::vector<boost::shared_ptr<SendThreadResult> > perf_roscpp::intra::ThroughputTest::send_results_ [private]

Definition at line 84 of file intra.cpp.

Definition at line 83 of file intra.cpp.

Definition at line 90 of file intra.cpp.

Definition at line 95 of file intra.cpp.

Definition at line 93 of file intra.cpp.

Definition at line 92 of file intra.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


perf_roscpp
Author(s): Josh Faust (jfaust@willowgarage.com)
autogenerated on Sat Mar 2 13:25:45 2013