|
|
@ -89,8 +89,7 @@ void metrics_stdout::set_metrics(const enb_metrics_t& metrics, const uint32_t pe
|
|
|
|
|
|
|
|
|
|
|
|
for (size_t i = 0; i < metrics.stack.rrc.ues.size(); i++) {
|
|
|
|
for (size_t i = 0; i < metrics.stack.rrc.ues.size(); i++) {
|
|
|
|
// make sure we have stats for MAC and PHY layer too
|
|
|
|
// make sure we have stats for MAC and PHY layer too
|
|
|
|
if (metrics.stack.mac.ues.size() == 0 || metrics.phy.size() == 0 || i > metrics.stack.mac.ues.size() ||
|
|
|
|
if (i >= metrics.stack.mac.ues.size() || i >= metrics.phy.size()) {
|
|
|
|
i > metrics.phy.size()) {
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (metrics.stack.mac.ues[i].tx_errors > metrics.stack.mac.ues[i].tx_pkts) {
|
|
|
|
if (metrics.stack.mac.ues[i].tx_errors > metrics.stack.mac.ues[i].tx_pkts) {
|
|
|
|