|
CARLA
|
Public Member Functions | |
| void | AddStream () |
| void | AddStreams (size_t count) |
| Benchmark (uint16_t port, size_t message_size, double success_ratio) | |
| void | Run (size_t number_of_messages) |
Private Attributes | |
| Client | _client |
| boost::asio::io_context | _client_callback |
| const carla::SharedBufferView | _message |
| std::atomic_size_t | _number_of_messages_received {0u} |
| Server | _server |
| std::vector< Stream > | _streams |
| const double | _success_ratio |
| carla::ThreadGroup | _threads |
| boost::asio::executor_work_guard< boost::asio::io_context::executor_type > | _work_to_do |
Definition at line 31 of file test_benchmark_streaming.cpp.
|
inline |
Definition at line 34 of file test_benchmark_streaming.cpp.
References _server, and carla::streaming::Server::SetSynchronousMode().
|
inline |
Definition at line 45 of file test_benchmark_streaming.cpp.
References _client, _server, carla::streaming::Server::MakeStream(), carla::streaming::Client::Subscribe(), and carla::streaming::detail::Stream< StreamStateT >::token().
|
inline |
Definition at line 60 of file test_benchmark_streaming.cpp.
Referenced by benchmark_image().
|
inline |
Definition at line 66 of file test_benchmark_streaming.cpp.
References CARLA_PROFILE_SCOPE, and carla::log_warning().
Referenced by benchmark_image().
|
private |
Definition at line 120 of file test_benchmark_streaming.cpp.
Referenced by AddStream().
|
private |
Definition at line 124 of file test_benchmark_streaming.cpp.
|
private |
Definition at line 122 of file test_benchmark_streaming.cpp.
|
private |
Definition at line 132 of file test_benchmark_streaming.cpp.
|
private |
Definition at line 118 of file test_benchmark_streaming.cpp.
Referenced by AddStream(), and Benchmark().
|
private |
Definition at line 130 of file test_benchmark_streaming.cpp.
|
private |
Definition at line 128 of file test_benchmark_streaming.cpp.
|
private |
Definition at line 116 of file test_benchmark_streaming.cpp.
|
private |
Definition at line 126 of file test_benchmark_streaming.cpp.