procps/proc
Jim Warner 2c86c4984a library <stat>: standardized new category calculations
This commit arose out of the discussion (and research)
surrounding the issue cited below. It is an attempt to
consolidate and standardize the calculation of jiffies
categories (e.g. 'idle', 'busy', etc.) once & for all.

Also included is the enum STAT_TIC_NUM_CONTRIBUTORS in
case anyone, in the future, decides to calculate usage
based upon elapsed time * Hz (like top does in process
level %CPU stats). In such an event, a total number of
CPUs or NUMA Nodes would be needed for proper scaling.

Reference(s):
https://gitlab.com/procps-ng/procps/issues/48

Signed-off-by: Jim Warner <james.warner@comcast.net>
2017-01-04 08:29:44 +11:00
..
.gitignore
alloc.c
alloc.h
COPYING
devname.c
devname.h
diskstats.c
diskstats.h
escape.c
escape.h
libprocps.pc.in
libprocps.sym
meminfo.c
meminfo.h
namespace.c
namespace.h
pids.c
pids.h
procps-private.h
procps.h
pwcache.c
pwcache.h
readproc.c
readproc.h
slabinfo.c
slabinfo.h
stat.c library <stat>: standardized new category calculations 2017-01-04 08:29:44 +11:00
stat.h library <stat>: standardized new category calculations 2017-01-04 08:29:44 +11:00
sysinfo.c
sysinfo.h
test_namespace.c
test_pids.c
test_sysinfo.c
test_uptime.c
test_version.c
uptime.c
uptime.h
version.c
version.h
vmstat.c
vmstat.h
wchan.c
wchan.h
xtra-procps-debug.h