diff --git a/proc/procps.h b/proc/procps.h index 79d144c9..16bdcd37 100644 --- a/proc/procps.h +++ b/proc/procps.h @@ -21,11 +21,16 @@ #endif #endif -// won't alias anything, and aligned enough for anything #if __GNUC__ > 2 || __GNUC_MINOR__ >= 96 +// won't alias anything, and aligned enough for anything #define MALLOC __attribute__ ((__malloc__)) +// tell gcc what to expect: if(unlikely(err)) die(err); +#define likely(x) __builtin_expect((x),1) +#define unlikely(x) __builtin_expect((x),0) #else #define MALLOC +#define likely(x) (x) +#define unlikely(x) (x) #endif diff --git a/top.1 b/top.1 index 9cdf9289..8f61b87a 100644 --- a/top.1 +++ b/top.1 @@ -1104,9 +1104,10 @@ the ghostly images of just the currently running tasks. Delete the existing rcfile, or create a new symlink. Start this new version then type 'T' (a secret key, \*(Xt 3c. TASK Area Commands, Sorting) followed by 'W' and 'q'. +Finally, restart the program with -d0 (zero delay). -Restart the program with -d0 (zero delay) and this \*(Me will emit frames -at over six times the rate of the former top, a 600% speed advantage. +Your display will be refreshed at over six times the rate of the former \*(Me, +a 600% speed advantage. As \*(Me climbs the TIME ladder, be as patient as you can while speculating on whether or not \*(Me will ever reach the \*(Me.