|
|
@ -111,7 +111,7 @@ void metrics_stdout::set_metrics(const ue_metrics_t& metrics, const uint32_t per
|
|
|
|
cout << float_to_string(metrics.phy.dl[r].sinr, 2);
|
|
|
|
cout << float_to_string(metrics.phy.dl[r].sinr, 2);
|
|
|
|
cout << float_to_string(metrics.phy.dl[r].turbo_iters, 2);
|
|
|
|
cout << float_to_string(metrics.phy.dl[r].turbo_iters, 2);
|
|
|
|
|
|
|
|
|
|
|
|
cout << float_to_eng_string((float)metrics.stack.mac[r].rx_brate / period_usec * 1e6, 2);
|
|
|
|
cout << float_to_eng_string((float)metrics.stack.mac[r].rx_brate / (metrics.stack.mac[r].nof_tti * 1e-3), 2);
|
|
|
|
if (metrics.stack.mac[r].rx_pkts > 0) {
|
|
|
|
if (metrics.stack.mac[r].rx_pkts > 0) {
|
|
|
|
cout << float_to_string((float)100 * metrics.stack.mac[r].rx_errors / metrics.stack.mac[r].rx_pkts, 1) << "%";
|
|
|
|
cout << float_to_string((float)100 * metrics.stack.mac[r].rx_errors / metrics.stack.mac[r].rx_pkts, 1) << "%";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -122,7 +122,7 @@ void metrics_stdout::set_metrics(const ue_metrics_t& metrics, const uint32_t per
|
|
|
|
|
|
|
|
|
|
|
|
cout << float_to_string(metrics.phy.ul[r].mcs, 2);
|
|
|
|
cout << float_to_string(metrics.phy.ul[r].mcs, 2);
|
|
|
|
cout << float_to_eng_string((float)metrics.stack.mac[r].ul_buffer, 2);
|
|
|
|
cout << float_to_eng_string((float)metrics.stack.mac[r].ul_buffer, 2);
|
|
|
|
cout << float_to_eng_string((float)metrics.stack.mac[r].tx_brate / period_usec * 1e6, 2);
|
|
|
|
cout << float_to_eng_string((float)metrics.stack.mac[r].tx_brate / (metrics.stack.mac[r].nof_tti * 1e-3), 2);
|
|
|
|
if (metrics.stack.mac[r].tx_pkts > 0) {
|
|
|
|
if (metrics.stack.mac[r].tx_pkts > 0) {
|
|
|
|
cout << float_to_string((float)100 * metrics.stack.mac[r].tx_errors / metrics.stack.mac[r].tx_pkts, 1) << "%";
|
|
|
|
cout << float_to_string((float)100 * metrics.stack.mac[r].tx_errors / metrics.stack.mac[r].tx_pkts, 1) << "%";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|