library: add chaining provisions to readstat cpu & sys

If a caller chooses to reduce the overhead of repeated
function calls, this commit provides for acquiring all
the desired information in just a single library call.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2015-06-28 00:00:00 -05:00
committed by Craig Small
parent 6bb1a033b4
commit 0c162f7af0
3 changed files with 101 additions and 0 deletions

View File

@ -73,7 +73,9 @@ global:
procps_stat_ref;
procps_stat_unref;
procps_stat_get_cpu;
procps_stat_get_cpu_chain;
procps_stat_get_sys;
procps_stat_get_sys_chain;
procps_vmstat_new;
procps_vmstat_read;
procps_vmstat_ref;