moved gw metrics out of stack_metrics_t

This commit is contained in:
Francisco Paisana 2019-06-20 12:44:23 +01:00 committed by Andre Puschmann
parent 9b985ab6ea
commit 62eb96366c
3 changed files with 5 additions and 5 deletions

View File

@ -70,9 +70,9 @@ public:
private:
static const int GW_THREAD_PRIO = 7;
stack_interface_gw* stack;
srslte::byte_buffer_pool *pool;
srslte::logger* logger;
stack_interface_gw* stack;
srslte::byte_buffer_pool* pool;
srslte::logger* logger;
gw_args_t args;

View File

@ -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;

View File

@ -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;
}