1
0
Fork 0
slstatus/components
Laslo Hunhold 68a3902dc5 Increase precision in netspeeds.c
First dividing by interval before multiplying with 1000 decreases the
precision by +-(interval - 1) * 1000, as interval arithmetic always
applies the Gauß-function to the result.

This is not necessary and simply reordering the operations mitigates
this.
2018-05-19 20:14:09 +02:00
..
battery.c Implement esnprintf() and make formatted calls more efficient 2018-05-19 19:44:02 +02:00
cpu.c Use %d instead of accidentally %i 2018-05-18 19:58:51 +02:00
datetime.c Add warn() and die() 2018-05-18 11:13:05 +02:00
disk.c Implement fmt_scaled for disk_* functions 2018-05-18 23:14:55 +02:00
entropy.c entropy: Small fix 2018-05-06 23:09:36 +02:00
hostname.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ip.c Simplify ipv* functions 2018-05-19 13:34:18 +02:00
kernel_release.c Add warn() and die() 2018-05-18 11:13:05 +02:00
keyboard_indicators.c Add warn() and die() 2018-05-18 11:13:05 +02:00
load_avg.c Add warn() and die() 2018-05-18 11:13:05 +02:00
netspeeds.c Increase precision in netspeeds.c 2018-05-19 20:14:09 +02:00
num_files.c Add warn() and die() 2018-05-18 11:13:05 +02:00
ram.c Implement fmt_scaled for ram_* functions 2018-05-18 23:38:59 +02:00
run_command.c Add warn() and die() 2018-05-18 11:13:05 +02:00
swap.c Implement fmt_scaled for swap_* functions 2018-05-18 23:19:18 +02:00
temperature.c Add warn() and die() 2018-05-18 11:13:05 +02:00
uptime.c uptime: Format function is static 2018-05-19 01:55:31 +02:00
user.c Add warn() and die() 2018-05-18 11:13:05 +02:00
volume.c Add warn() and die() 2018-05-18 11:13:05 +02:00
wifi.c Implement esnprintf() and make formatted calls more efficient 2018-05-19 19:44:02 +02:00