htop icon indicating copy to clipboard operation
htop copied to clipboard

Linux/LibSensors: adjust data for k10temp

Open cgzones opened this issue 2 years ago • 2 comments

Adjust the temperature data gathered from the k10temp driver. Only a control value, an optional die value, and one value per CCD are provided.

See https://www.kernel.org/doc/html/latest/hwmon/k10temp.html for details.

cgzones avatar May 21 '23 16:05 cgzones

Re the double->float patch: While we are not showing anything more than 1 fractional digit, the data acquisition is done using doubles, thus sticking to keeping the native type here is IMO preferable (avoids rounding errors due to type conversion).

BenBE avatar May 21 '23 18:05 BenBE

Might get superseded by #1352.

cgzones avatar Jan 08 '24 14:01 cgzones