Hardware Locality (hwloc)
1.4.1
|
#include <hwloc.h>
Data Fields | |
hwloc_uint64_t | size |
unsigned | depth |
unsigned | linesize |
int | associativity |
Cache-specific Object Attributes.
Ways of associativity,.
-1 if fully associative, 0 if unknown
Depth of cache (e.g., L1, L2, ...etc.)
Cache-line size in bytes.
hwloc_uint64_t hwloc_obj_attr_u::hwloc_cache_attr_s::size |
Size of cache in bytes.