|
|
@ -46,8 +46,9 @@ class metrics_stdout : public srslte::metrics_listener<ue_metrics_t>
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
metrics_stdout();
|
|
|
|
metrics_stdout();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void set_periodicity(float metrics_report_period_sec);
|
|
|
|
void toggle_print(bool b);
|
|
|
|
void toggle_print(bool b);
|
|
|
|
void set_metrics(ue_metrics_t &m, float report_period_secs);
|
|
|
|
void set_metrics(ue_metrics_t &m);
|
|
|
|
void set_ue_handle(ue_metrics_interface *ue_);
|
|
|
|
void set_ue_handle(ue_metrics_interface *ue_);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
@ -55,6 +56,7 @@ private:
|
|
|
|
std::string float_to_eng_string(float f, int digits);
|
|
|
|
std::string float_to_eng_string(float f, int digits);
|
|
|
|
std::string int_to_eng_string(int f, int digits);
|
|
|
|
std::string int_to_eng_string(int f, int digits);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float metrics_report_period;
|
|
|
|
bool do_print;
|
|
|
|
bool do_print;
|
|
|
|
uint8_t n_reports;
|
|
|
|
uint8_t n_reports;
|
|
|
|
ue_metrics_interface* ue;
|
|
|
|
ue_metrics_interface* ue;
|
|
|
|