netprof udp byte averages

This commit is contained in:
Green Sky
2025-01-20 15:39:02 +01:00
parent d416d3d595
commit ca59e51e9e
2 changed files with 45 additions and 6 deletions

View File

@@ -43,6 +43,9 @@ class ToxNetprofUI {
std::vector<float> _udp_tbtx;
std::vector<float> _udp_tbrx;
float _udp_tbtx_avg {0.f};
float _udp_tbrx_avg {0.f};
const float _value_add_interval {1.f}; // every second
float _time_since_last_add {0.f};