LIKWID
Public Attributes | List of all members
CacheLevel Struct Reference

Structure describing a cache level. More...

#include <likwid.h>

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

Public Attributes

uint32_t associativity
 Amount of cache lines hold by each set.
 
uint32_t inclusive
 Flag if cache is inclusive (holds also cache lines available in caches nearer to the CPU) or exclusive.
 
uint32_t level
 Level of the cache in the hierarchy.
 
uint32_t lineSize
 Size in bytes of one cache line.
 
uint32_t sets
 Amount of sets.
 
uint32_t size
 Size in bytes of the cache.
 
uint32_t threads
 Number of HW thread connected to the cache.
 
CacheType type
 Type of the cache.
 
- 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 describing a cache level.

CPUs are connected to a cache hierarchy with different amount of caches at each level. The CacheLevel structure holds general information about the cache.


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