diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2017-02-12 17:59:08 +0200 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2017-02-12 17:59:08 +0200 |
commit | dff7c5588e9761224f2811f0ce5792ff93d95e29 (patch) | |
tree | 32a0acb5b1c4c217e4b9de52e1963a1fe9562ab2 /include/glibtop/sysdeps.h | |
parent | 1a103bf142856ec129eb124d1dae70ddb3dd02e8 (diff) | |
download | libgtop-dff7c5588e9761224f2811f0ce5792ff93d95e29.tar.gz |
New API to retrieve process io stats, with Linux implementation
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r-- | include/glibtop/sysdeps.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index 61006a0a..39c2dad2 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -53,8 +53,9 @@ G_BEGIN_DECLS #define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24 #define GLIBTOP_SYSDEPS_PROC_WD 25 #define GLIBTOP_SYSDEPS_PROC_AFFINITY 26 +#define GLIBTOP_SYSDEPS_PROC_DISKIO 27 -#define GLIBTOP_MAX_SYSDEPS 27 +#define GLIBTOP_MAX_SYSDEPS 28 /* The 'features' args to glibtop_init_* is an unsigned long */ G_STATIC_ASSERT((1UL << (GLIBTOP_MAX_SYSDEPS - 1)) <= ULONG_MAX); @@ -93,6 +94,7 @@ struct _glibtop_sysdeps guint64 ppp; /* glibtop_ppp */ guint64 proc_wd; /* glibtop_proc_wd */ guint64 proc_affinity; /* glibtop_proc_affinity */ + guint64 proc_diskio; /* glibtop_proc_diskio */ }; void glibtop_get_sysdeps (glibtop_sysdeps *buf); |