diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2007-06-25 17:27:27 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2007-06-25 17:27:27 +0000 |
commit | 6b0bafcafb6a2bbaf9bacad6088bc801b8f070ae (patch) | |
tree | 2d0e827d230a206f2049cffd8043da68e499019d /include/glibtop/sysdeps.h | |
parent | c0856a39bd4d13714286aa968e0fe6b14e951a19 (diff) | |
download | libgtop-6b0bafcafb6a2bbaf9bacad6088bc801b8f070ae.tar.gz |
New API : glibtop_get_proc_affinity.
Implemented for linux.
svn path=/trunk/; revision=2609
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 40f0b6b2..1060d1c9 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -52,8 +52,9 @@ G_BEGIN_DECLS #define GLIBTOP_SYSDEPS_NETLIST 23 #define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24 #define GLIBTOP_SYSDEPS_PROC_WD 25 +#define GLIBTOP_SYSDEPS_PROC_AFFINITY 26 -#define GLIBTOP_MAX_SYSDEPS 26 +#define GLIBTOP_MAX_SYSDEPS 27 #define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1) @@ -88,6 +89,7 @@ struct _glibtop_sysdeps guint64 netload; /* glibtop_netload */ guint64 ppp; /* glibtop_ppp */ guint64 proc_wd; /* glibtop_proc_wd */ + guint64 proc_affinity; /* glibtop_proc_affinity */ }; void glibtop_get_sysdeps (glibtop_sysdeps *buf); |