17#ifndef OUTPUT_QUEUE_STATS_HPP_INCLUDED
18#define OUTPUT_QUEUE_STATS_HPP_INCLUDED
47template <
typename Iter>
51 auto rhs = io.get_output_queue_stats();
53 sum.bytes_in_output_queue + rhs->bytes_in_output_queue } :
99template <
typename Iter,
typename Cond>
121template <
typename IOT,
typename Iter>
129 st.output_queue_size += r->output_queue_size;
130 st.bytes_in_output_queue += r->bytes_in_output_queue;
135 sum.bytes_in_output_queue + st.bytes_in_output_queue};
156template <
typename IOT,
typename Iter,
typename Cond>
158 while (!cond(accumulate_net_entity_output_queue_stats<IOT>(beg, end))) {
basic_io_output class template, providing send and get_output_queue_stats methods.
The basic_io_output class template provides methods for sending data to an associated network IO hand...
Definition basic_io_output.hpp:57
auto get_output_queue_stats() const -> nonstd::expected< output_queue_stats, std::error_code >
Return output queue statistics, allowing application monitoring of output queue sizes.
Definition basic_io_output.hpp:101
void accumulate_net_entity_output_queue_stats_until(Iter beg, Iter end, Cond &&cond)
Accumulate output_queue_stats on a sequence of net_entity objects until a condition is satisfied.
Definition output_queue_stats.hpp:157
void accumulate_output_queue_stats_until(Iter beg, Iter end, Cond &&cond)
Accumulate output_queue_stats on a sequence of basic_io_output objects until a condition is satisfied...
Definition output_queue_stats.hpp:100
output_queue_stats accumulate_net_entity_output_queue_stats(Iter beg, Iter end)
Accumulate output_queue_stats given a sequence of net_entity objects, using the visit_io_output metho...
Definition output_queue_stats.hpp:122
output_queue_stats accumulate_output_queue_stats(Iter beg, Iter end)
Accumulate output_queue_stats given a sequence of basic_io_output objects.
Definition output_queue_stats.hpp:48
Structures containing statistics gathered on internal queues.
output_queue_stats provides information on the internal output queue.
Definition queue_stats.hpp:29