38 assert(send_fix_msg.is_valid());
43 const std::pair<timed_results_t,
bool> timed_results(libjmmcg::compute_average_deviation<timed_results_t::value_type>(
46 [
this, &num_loops]() {
47 if (!signal_status()) {
48 const auto t1=std::chrono::high_resolution_clock::now();
49 in_order_tx_rx(num_loops);
50 const auto t2=std::chrono::high_resolution_clock::now();
51 assert(receive_fix_msg.is_valid());
52 return timed_results_t::value_type(
static_cast<
double>(std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count())/num_loops);
54 return timed_results_t::value_type();
62 operator<<(
std::ostream &os,
fix_client const &fc)
noexcept(
false) {
64 <<
"Fix message to send: "<<fc.fix_buffer
65 <<
", client connection details: "<< fc.client;