LIKWID
Public Attributes | List of all members
HWThread Struct Reference

Structure with IDs of a HW thread. More...

#include <likwid.h>

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

Public Attributes

uint32_t apicId
 ID of HW thread retrieved through the Advanced Programmable Interrupt Controller.
 
uint32_t coreId
 ID of CPU core that executes the HW thread.
 
uint32_t inCpuSet
 ID of HW thread inside the CPU core.
 
uint32_t packageId
 ID of CPU socket containing the HW thread.
 
uint32_t threadId
 ID of HW thread inside the CPU core.
 
- Public Attributes inherited from CpuTopology
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 with IDs of a HW thread.

For each HW thread this structure stores the ID of the thread inside a CPU, the CPU core ID of the HW thread and the CPU socket ID.


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