3 ms·
c.f. https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki/daemon-purpose https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki... the daemon sep
by nateb2022 1y ago
c.f. https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki/daemon-purpose https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki...
the daemon separates userspace from root domain, and ensures that the code running with root privileges is very small and easily auditable
- __turbobrew__ 1y agoMaybe I am dumb, but why does it have to be a daemon? Why not have the user process fork off the privileged binary to collect data and return the results through stdout?
- unaindz 1y agoForking a process is not free and starting one every hundred of a millisecond* seems very expensive. *I'm do not know which frequency it updates the data but it's usually 1 sec to 0.1 sec.