◆ Benchmark()
Benchmark::Benchmark |
( |
uint16_t | port, |
|
|
size_t | message_size, |
|
|
double | success_ratio ) |
|
inline |
◆ AddStream()
void Benchmark::AddStream |
( |
| ) |
|
|
inline |
◆ AddStreams()
void Benchmark::AddStreams |
( |
size_t | count | ) |
|
|
inline |
◆ Run()
void Benchmark::Run |
( |
size_t | number_of_messages | ) |
|
|
inline |
◆ _client
◆ _client_callback
boost::asio::io_context Benchmark::_client_callback |
|
private |
◆ _message
◆ _number_of_messages_received
std::atomic_size_t Benchmark::_number_of_messages_received {0u} |
|
private |
◆ _server
◆ _streams
std::vector<Stream> Benchmark::_streams |
|
private |
◆ _success_ratio
const double Benchmark::_success_ratio |
|
private |
◆ _threads
◆ _work_to_do
boost::asio::io_context::work Benchmark::_work_to_do |
|
private |
该类的文档由以下文件生成: