gluon-packages/admin/autoupdater/src
Matthias Schiffer e350f4804d
autoupdater: update download progress display less frequently
Updating the "XXXXX / XXXXX KiB" display for every run of
recv_image_cb() is a significant bottleneck on slow consoles. This was
reported for a device using a 9600 Baud serial console, but the slowdown
is noticeable even on a 115200 Baud console, especially when the network
is fast.

Replace the output with a "XX.X / XX.X MiB" display and only update it
every 0.1 MiB to fix the issue.

Closes #273
2024-03-08 20:17:47 +01:00
..
CMakeLists.txt autoupdater: new implementation 2018-01-13 00:22:27 +01:00
autoupdater.c autoupdater: update download progress display less frequently 2024-03-08 20:17:47 +01:00
hexutil.c autoupdater: new implementation 2018-01-13 00:22:27 +01:00
hexutil.h autoupdater: new implementation 2018-01-13 00:22:27 +01:00
manifest.c autoupdater: use safe allocation functions 2018-02-22 02:39:48 +01:00
manifest.h autoupdater: new implementation 2018-01-13 00:22:27 +01:00
settings.c autoupdater: use safe allocation functions 2018-02-22 02:39:48 +01:00
settings.h autoupdater: allow skipping the version check (#187) 2018-06-03 12:13:50 +02:00
uclient.c autoupdater: improve handling of interrupted HTTP requests 2023-02-24 22:34:26 +01:00
uclient.h autoupdater: improve handling of interrupted HTTP requests 2023-02-24 22:34:26 +01:00
util.c autoupdater: add safe allocation functions 2018-02-22 02:39:47 +01:00
util.h autoupdater: add safe allocation functions 2018-02-22 02:39:47 +01:00
version.c autoupdater: consider end of string smaller than all characters except for '~' 2018-12-18 23:16:17 +01:00
version.h autoupdater: new implementation 2018-01-13 00:22:27 +01:00