Update bundled version of NUMA API library

This commit is contained in:
Sergey Sharybin
2019-01-11 17:47:10 +01:00
parent c1dd74580e
commit ff44a9957e
9 changed files with 88 additions and 16 deletions

View File

@@ -70,6 +70,16 @@ bool numaAPI_IsNodeAvailable(int node);
// Get number of available processors on a given node.
int numaAPI_GetNumNodeProcessors(int node);
////////////////////////////////////////////////////////////////////////////////
// Topology helpers.
//
// Those are a bit higher level queries, but is still rather platform-specific
// and generally useful.
// Get number of processors within the NUMA nodes on which current thread is
// set affinity on.
int numaAPI_GetNumCurrentNodesProcessors(void);
////////////////////////////////////////////////////////////////////////////////
// Affinities.