moved gw metrics out of stack_metrics_t

master
Francisco Paisana 5 years ago committed by Andre Puschmann
parent 9b985ab6ea
commit 62eb96366c

@ -43,13 +43,13 @@ typedef struct {
typedef struct {
mac_metrics_t mac[SRSLTE_MAX_CARRIERS];
srslte::rlc_metrics_t rlc;
gw_metrics_t gw;
nas_metrics_t nas;
} stack_metrics_t;
typedef struct {
rf_metrics_t rf;
phy_metrics_t phy;
gw_metrics_t gw;
stack_metrics_t stack;
} ue_metrics_t;

@ -260,7 +260,7 @@ bool ue::get_metrics(ue_metrics_t* m)
phy->get_metrics(&m->phy);
radio->get_metrics(&m->rf);
stack->get_metrics(&m->stack);
gw_inst->get_metrics(m->stack.gw);
gw_inst->get_metrics(m->gw);
return true;
}

Loading…
Cancel
Save