diff options
author | Explorer09 <explorer09@gmail.com> | 2023-11-10 21:16:35 +0800 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-11-24 09:51:25 +0100 |
commit | 5affa05bd609aee248836216ed7f59adc456a754 (patch) | |
tree | 29a5ae8eae69e0a05d2709f54946dce9aa086b41 /NetworkIOMeter.c | |
parent | 5d2569270cd09469fc28e9dcc45af4f1d9e05c99 (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