diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-11-18 06:08:56 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-11-18 06:08:56 +0000 |
commit | 7ca10817122d3b7b30fabb1cadb75e5ee14b364e (patch) | |
tree | 14fa282dcad8eac9401fa463484b0b1693f43e1f /Process.h | |
parent | 38856488815711138aa9d0ba32cca66694717171 (diff) |
Mega-commit with features and tweaks for 1.0:
* Performance improvements
* Support for splitting CPU meters into two or four columns
(thanks to Wim Heirman)
* Switch from PLPA, which is now deprecated, to HWLOC.
* Bring back support for native Linux sched_setaffinity,
so we don't have to use HWLOC where we don't need to.
* Support for typing in user names and column fields in selection panels.
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -197,9 +197,17 @@ void Process_toggleTag(Process* this); bool Process_setPriority(Process* this, int priority); #ifdef HAVE_HWLOC + Affinity* Process_getAffinity(Process* this); bool Process_setAffinity(Process* this, Affinity* affinity); + +#elif HAVE_NATIVE_AFFINITY + +Affinity* Process_getAffinity(Process* this); + +bool Process_setAffinity(Process* this, Affinity* affinity); + #endif void Process_sendSignal(Process* this, int sgn); |