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 { typedef struct {
mac_metrics_t mac[SRSLTE_MAX_CARRIERS]; mac_metrics_t mac[SRSLTE_MAX_CARRIERS];
srslte::rlc_metrics_t rlc; srslte::rlc_metrics_t rlc;
gw_metrics_t gw;
nas_metrics_t nas; nas_metrics_t nas;
} stack_metrics_t; } stack_metrics_t;
typedef struct { typedef struct {
rf_metrics_t rf; rf_metrics_t rf;
phy_metrics_t phy; phy_metrics_t phy;
gw_metrics_t gw;
stack_metrics_t stack; stack_metrics_t stack;
} ue_metrics_t; } ue_metrics_t;

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

Loading…
Cancel
Save