summaryrefslogtreecommitdiffstats
path: root/NetworkIOMeter.c
AgeCommit message (Collapse)Author
2020-12-08Split RichString_(append|appendn|write) into wide and asciiChristian Göttsche
RichString_writeFrom takes a top spot during performance analysis due to the calls to mbstowcs() and iswprint(). Most of the time we know in advance that we are only going to print regular ASCII characters.
2020-12-06Use size_t as len type for Meter_UpdateValuesChristian Göttsche
Most of the time the parameter is passed to snprintf type functions
2020-11-22Reduce scope of cached valuesBenny Baumann
2020-11-19IWYU update (Linux)Christian Göttsche
2020-11-02Handle data wraparounds in IO MetersChristian Göttsche
If the current data is smaller than the previous one, either by a retrieve error or a device removal or a original data wraparound, sanitize the value to zero. Fixes: #299
2020-10-26Improve handling of no data in Disk and Network IO MetersChristian Göttsche
2020-10-20Increase print buffer in NetworkIOMeter_displayChristian Göttsche
In case the packet values wrap-around or have other weird values, the current buffer might be to small
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-16Add NetworkIOMeterChristian Göttsche