Christian Göttsche 0cfc9b0980 LinuxProcessList: refactor /proc/stat parsing
Combine reading CPU count and CPU usage, only open the file once.
Do not separately initialize totalPeriod and totalTime, cause the value
0 is handled in Platform_setCPUValues().

Take the number of currently running process from the entry
procs_running in /proc/stat instead of counting all scanned process
with state 'R', to include hidden tasks, e.g. threads.
2021-03-12 17:31:45 +01:00
..
2021-03-04 23:57:45 +01:00
2021-01-19 18:06:48 +01:00
2021-01-04 23:12:43 +01:00
2021-03-04 23:57:45 +01:00
2020-12-19 21:13:32 +01:00
2021-03-04 23:57:45 +01:00
2021-03-04 23:57:45 +01:00
2021-03-04 23:57:45 +01:00
2020-10-31 18:51:53 +01:00
2021-02-07 12:41:52 +01:00