top: reduce function call overhead in the NUMA support

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2013-05-13 00:00:00 -05:00
committed by Craig Small
parent a6c7923106
commit ae102f359f
2 changed files with 5 additions and 1 deletions

View File

@ -276,6 +276,9 @@ typedef struct CPU_t {
SIC_t edge; // tics adjustment threshold boundary
#endif
int id; // the cpu id number (0 - nn)
#ifndef NUMA_DISABLE
int node; // the numa node it belongs to
#endif
} CPU_t;
/* /////////////////////////////////////////////////////////////// */