Classes | Public Member Functions | Private Member Functions | Private Attributes
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 test_roscpp::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 test_roscpp::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.

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:


test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Thu Jun 6 2019 21:10:43