eww/crates
mario-kr fefba66ff5
Fix: EWW_NET wrong values for TX/RX stats (#1108)
* Fix: EWW_NET wrong values for TX/RX stats

The sysinfo crate, structure Networks, basically caches one value of
total_received/total_transmitted each (as well as other metrics) and
returns the difference between those two values when queried via the
`received()` and `transmitted()` functions.

These values are updated by both the `refresh()` and `refresh_list()`
functions; so by calling both of them right after each other like
previously done here, sets both the cached total_received/... and the
current total_received/... to nearly the same value.

`refresh_list()` also updates the list of interfaces on a host, with a
marginally small performance impact for doing so (I measured slightly
more than 100 microseconds on my machine (0.1 milliseconds), around
20-25% more than with `refresh()`), especially considering this is run
only every 2 seconds.

* Add changelog entry for the EWW_NET bugfix
2024-08-25 15:45:33 +02:00
..
eww Fix: EWW_NET wrong values for TX/RX stats (#1108) 2024-08-25 15:45:33 +02:00
eww_shared_util chore: update derive_more to 1.0 2024-08-24 12:26:24 +02:00
notifier_host docs: update zbus-xmlgen generation commands; add zbus-xmlgen to development shell 2024-08-24 12:26:24 +02:00
simplexpr chore: update a few dependencies 2024-08-24 12:26:24 +02:00
yuck chore: update derive_more to 1.0 2024-08-24 12:26:24 +02:00