LIKWID
Public Attributes | List of all members
CpuTopology Struct Reference

Structure describing the topology of the HW threads in the system. More...

#include <likwid.h>

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

Public Attributes

uint32_t activeHWThreads
 Amount of HW threads in the system and length of threadPool.
 
CacheLevelcacheLevels
 List of all caches in the hierarchy.
 
uint32_t numCacheLevels
 Amount of caches for each HW thread and length of cacheLevels.
 
uint32_t numCoresPerSocket
 Amount of physical cores in one CPU socket/package.
 
uint32_t numHWThreads
 Amount of HW threads in the system and length of threadPool.
 
uint32_t numSockets
 Amount of CPU sockets/packages in the system.
 
uint32_t numThreadsPerCore
 Amount of HW threads in one physical CPU core.
 
HWThreadthreadPool
 List of all HW thread descriptions.
 
struct treeNodetopologyTree
 Anchor for a tree structure describing the system topology.
 

Detailed Description

Structure describing the topology of the HW threads in the system.

This structure describes the topology at HW thread level like the amount of HW threads, how they are distributed over the CPU sockets/packages and how the caching hierarchy is assembled.


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