Steve Schnepp
c7f80a0c4b
mpc: optimize HZ retrieval
...
As Brian De Wolf noted:
hz only really needs to be calculated once, so this line could be
moved up out of the loop, resulting in a likely unnoticeable
performance increase. :)
2013-02-27 08:25:20 +01:00
Helmut Grohne
bb7bf0bcd7
refactor code
...
Added common functions autoconf_check_readable and fail.
Added some TODOs for later completion.
Updated messages from upstream plugins.
2013-02-05 12:38:12 +01:00
Helmut Grohne
58ec362bb3
teach cpu.c to print steal and guest
2013-01-28 16:56:22 +01:00
Helmut Grohne
4bd77f20a5
backport HZ functionality to cpu.c
2013-01-28 16:42:38 +01:00
Helmut Grohne
b9c124798f
fix cpu.c config for more recent kernels
...
It still lacks behind the vanilla cpu plugin.
2013-01-28 14:18:45 +01:00
Helmut Grohne
339b8f43a9
added #define PROC_STAT "/proc/stat"
2013-01-28 13:29:19 +01:00
Helmut Grohne
209937078b
initial tree
2013-01-28 13:29:19 +01:00