diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2007-06-25 21:40:35 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2007-06-25 21:40:35 +0000 |
commit | 4c6b50648865818c9c1c68c71063f85682b4a3df (patch) | |
tree | c80b424b0f00c1ce0a2fe81fab4379d17c5daf5e /include/glibtop/sysdeps.h | |
parent | ef34cfb38aa2870a454a4e5a76d3d3c1a9e8f701 (diff) | |
download | libgtop-4c6b50648865818c9c1c68c71063f85682b4a3df.tar.gz |
New API glibtop_get_proc_affinity.
Linux implementaion.
svn path=/branches/affinity/; revision=2614
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); |