diff options
-rw-r--r-- | src/top/top.c | 3 | ||||
-rw-r--r-- | src/top/top.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/top/top.c b/src/top/top.c index 757b8d3..98444fd 100644 --- a/src/top/top.c +++ b/src/top/top.c @@ -3735,6 +3735,9 @@ static void before (char *me) { Graph_cpus = alloc_c(sizeof(struct graph_parms)); Graph_mems = alloc_c(sizeof(struct graph_parms)); #undef doALL + + // don't distort startup cpu(s) display ... + usleep(LIB_USLEEP); } // end: before diff --git a/src/top/top.h b/src/top/top.h index d633f3e..03de1ca 100644 --- a/src/top/top.h +++ b/src/top/top.h @@ -121,7 +121,7 @@ char *strcasestr(const char *haystack, const char *needle); /* Length of time a message is displayed and the duration of a 'priming' wait during library startup (in microseconds) */ #define MSG_USLEEP 1250000 -#define LIB_USLEEP 150000 +#define LIB_USLEEP 100000 /* Specific process id monitoring support (command line only) */ #define MONPIDMAX 20 |