Difference between revisions of "r7.1.0:Macro LIBSHARED PAL PTI GET NUMA NODE"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:macro LIBSHARED_PAL_PTI_GET_NUMA_NODE_ID}} ==Source File== └───test_and_benchmark └───libshared └───inc └...") |
(No difference)
|
Latest revision as of 18:14, 28 May 2016
Source File
└───test_and_benchmark └───libshared └───inc └───libshared libtest_porting_abstraction_layer.h
Opaque Structures
struct libshared_pal_thread_info;
Macro
#define LIBSHARED_PAL_PTI_GET_NUMA_NODE_ID( libshared_pal_thread_info )
Parameters
libshared_pal_thread_info
- A struct libshared_pal_thread_info. Not a pointer to it - the struct itself.
Return Value
A lfds710_pal_uint_t, which is the NUMA node ID.
Notes
This macro obtains the NUMA node ID from the struct libshared_pal_thread_info. However, this value is not set, at all, ever. The macro exists as a part of the partial implementation of the libshared abstraction layer for the Linux kernel.