summaryrefslogtreecommitdiffstats
path: root/NetworkIOMeter.c
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2023-11-10 21:16:35 +0800
committerBenBE <BenBE@geshi.org>2023-11-24 09:51:25 +0100
commit5affa05bd609aee248836216ed7f59adc456a754 (patch)
tree29a5ae8eae69e0a05d2709f54946dce9aa086b41 /NetworkIOMeter.c
parent5d2569270cd09469fc28e9dcc45af4f1d9e05c99 (diff)
DiskIOMeter: Cache the formatted "KiB/s" number strings
In DiskIOMeter, the number strings of bytes per second are formatted with Meter_humanUnit(). As the numbers are only updated every 500 ms, it is good to cache the formatted strings. This saves code size. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Diffstat (limited to 'NetworkIOMeter.c')
0 files changed, 0 insertions, 0 deletions

© 2014-2024 Faster IT GmbH | imprint | privacy policy