decls for thread_cpu

This commit is contained in:
Doug MacEachern 2004-11-17 04:55:31 +00:00
parent eb619027d4
commit f1b03cea1f
1 changed files with 10 additions and 0 deletions

View File

@ -287,6 +287,16 @@ typedef struct {
SIGAR_DECLARE(int) sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid, SIGAR_DECLARE(int) sigar_proc_modules_get(sigar_t *sigar, sigar_pid_t pid,
sigar_proc_modules_t *procmods); sigar_proc_modules_t *procmods);
typedef struct {
sigar_uint64_t user;
sigar_uint64_t sys;
sigar_uint64_t total;
} sigar_thread_cpu_t;
SIGAR_DECLARE(int) sigar_thread_cpu_get(sigar_t *sigar,
sigar_uint64_t id,
sigar_thread_cpu_t *cpu);
typedef enum { typedef enum {
SIGAR_FSTYPE_UNKNOWN, SIGAR_FSTYPE_UNKNOWN,
SIGAR_FSTYPE_NONE, SIGAR_FSTYPE_NONE,