Home
last modified time | relevance | path

Searched refs:max_cache_level (Results 1 – 9 of 9) sorted by relevance

/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-prefetch.c75 uint16_t max_cache_level; in get_prefetch_L3_size() local
84 max_cache_level = stress_get_max_cache_level(cpu_caches); in get_prefetch_L3_size()
85 if ((max_cache_level > 0) && (max_cache_level < 3) && (!args->instance)) in get_prefetch_L3_size()
87 args->name, max_cache_level); in get_prefetch_L3_size()
89 cache = stress_get_cpu_cache(cpu_caches, max_cache_level); in get_prefetch_L3_size()
H A Dstress-stream.c375 uint16_t max_cache_level; in get_stream_L3_size() local
384 max_cache_level = stress_get_max_cache_level(cpu_caches); in get_stream_L3_size()
385 if ((max_cache_level > 0) && (max_cache_level < 3) && (!args->instance)) in get_stream_L3_size()
387 args->name, max_cache_level); in get_stream_L3_size()
389 cache = stress_get_cpu_cache(cpu_caches, max_cache_level); in get_stream_L3_size()
H A Dcore-helper.c1162 uint16_t max_cache_level = 0; in stress_cache_alloc() local
1176 max_cache_level = stress_get_max_cache_level(cpu_caches); in stress_cache_alloc()
1177 if (max_cache_level == 0) { in stress_cache_alloc()
1183 if (g_shared->mem_cache_level > max_cache_level) { in stress_cache_alloc()
1186 max_cache_level); in stress_cache_alloc()
1187 g_shared->mem_cache_level = max_cache_level; in stress_cache_alloc()
/dports/sysutils/cpufetch/cpufetch-1.00/src/x86/
H A Dapic.c199 for(int i=0; i < topo->cach->max_cache_level; i++) { in max_apic_id_size()
237 for(int i=0; i < topo->cach->max_cache_level; i++) { in build_topo_from_apic()
264 for(int i=0; i < topo->cach->max_cache_level; i++) { in get_cache_topology_from_apic()
353 cache_smt_id_apic[i] = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()
354 cache_id_apic[i] = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()
356 topo->apic->cache_select_mask = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()
357 topo->apic->cache_id_apic = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()
380 for(int c=0; c < topo->cach->max_cache_level; c++) { in get_topology_from_apic()
H A Dcpuid.c574 cach->max_cache_level = 4; in get_cache_info_amd_fallback()
576 cach->max_cache_level = 3; in get_cache_info_amd_fallback()
608 cach->max_cache_level++; in get_cache_info_general()
640 cach->max_cache_level--; in get_cache_info_general()
901 for(uint32_t reg2=0x00000000; reg2 < cpu->cach->max_cache_level; reg2++) { in print_raw()
937 for(uint32_t reg2=0x00000000; reg2 < cpu->cach->max_cache_level; reg2++) { in print_raw()
/dports/sysutils/cpufetch/cpufetch-1.00/src/ppc/
H A Dppc.c26 cach->max_cache_level = 1; in get_cache_info()
31 cach->max_cache_level = 2; in get_cache_info()
36 cach->max_cache_level = 3; in get_cache_info()
41 cach->max_cache_level = 4; in get_cache_info()
/dports/sysutils/cpufetch/cpufetch-1.00/src/common/
H A Dcpu.h67 uint8_t max_cache_level; member
H A Dcpu.c214 cach->max_cache_level = 0; in init_cache_struct()
/dports/sysutils/cpufetch/cpufetch-1.00/src/arm/
H A Dmidr.c31 cach->max_cache_level = 2; in get_cache_info()
32 for(int i=0; i < cach->max_cache_level + 1; i++) { in get_cache_info()