Temperature precision - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Heat Dissipation and Overclock Topic (https://forum.pine64.org/forumdisplay.php?fid=41) +---- Thread: Temperature precision (/showthread.php?tid=4494) |
Temperature precision - joey - 05-01-2017 I just started playing with my Pine64 again, and I'm looking at including its temperature information in my home-grown graphing system. I found that it seems like mostly valid data in the /sys/class/thermal/thermal_zone0/temp file, but I noticed that it has zero digits of precision. It's currently reporting 36C idling on my desk, and if I run "stress --cpu 4" for a few seconds, it shoots up to about 80C within 10 seconds, so I can assume it's measuring real data. Is integer precision the best I'm going to get? My RPis are reporting to about 3 decimals of precision. It's not a big deal, but an integer graph is pretty boring. |