summaryrefslogtreecommitdiffstats
path: root/NetworkIOMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Split RichString_(append|appendn|write) into wide and asciiChristian Göttsche2020-12-081-8/+8
| | | | | | | | 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.
* Use size_t as len type for Meter_UpdateValuesChristian Göttsche2020-12-061-1/+1
| | | | Most of the time the parameter is passed to snprintf type functions
* Reduce scope of cached valuesBenny Baumann2020-11-221-4/+6
|
* IWYU update (Linux)Christian Göttsche2020-11-191-0/+1
|
* Handle data wraparounds in IO MetersChristian Göttsche2020-11-021-6/+22
| | | | | | | 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
* Improve handling of no data in Disk and Network IO MetersChristian Göttsche2020-10-261-3/+13
|
* Increase print buffer in NetworkIOMeter_displayChristian Göttsche2020-10-201-1/+1
| | | | | In case the packet values wrap-around or have other weird values, the current buffer might be to small
* Make all required includes explicitBenny Baumann2020-10-181-0/+7
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Add NetworkIOMeterChristian Göttsche2020-10-161-0/+89

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