![]() |
LIKWID
|
Structure describing a cache level. More...
#include <likwid.h>


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. | |
| CacheLevel * | cacheLevels |
| 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. | |
| HWThread * | threadPool |
| List of all HW thread descriptions. | |
| struct treeNode * | topologyTree |
| Anchor for a tree structure describing the system topology. | |
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.
1.8.11