LIKWID
Public Attributes | List of all members
AffinityDomains Struct Reference

The AffinityDomains data structure holds different count variables describing the various system layers. More...

#include <likwid.h>

Inheritance diagram for AffinityDomains:
Inheritance graph
[legend]
Collaboration diagram for AffinityDomains:
Collaboration graph
[legend]

Public Attributes

AffinityDomaindomains
 List of all domains in the system.
 
uint32_t numberOfAffinityDomains
 Number of affinity domains in the current system and length of domains array.
 
uint32_t numberOfCacheDomains
 Number of LLC caches in the system.
 
uint32_t numberOfCoresPerCache
 Number of HW threads per LLC cache in the system.
 
uint32_t numberOfNumaDomains
 Number of NUMA nodes in the system.
 
uint32_t numberOfProcessorsPerCache
 Number of CPU cores per LLC cache in the system.
 
uint32_t numberOfProcessorsPerSocket
 Number of HW threads per socket/package in the system.
 
uint32_t numberOfSocketDomains
 Number of CPU sockets/packages in the system.
 

Detailed Description

The AffinityDomains data structure holds different count variables describing the various system layers.

Affinity domains are for example the amount of NUMA domains, CPU sockets/packages or LLC (Last Level Cache) cache domains of the current machine. Moreover a list of domains holds the processor lists for each domain that are used for scheduling processes to domain specific HW threads. Some amounts are duplicates or derivation of values in CpuInfo, CpuTopology and NumaTopology.


The documentation for this struct was generated from the following file: