Home
last modified time | relevance | path

Searched refs:cpuinfo_cache_count (Results 1 – 8 of 8) sorted by relevance

/external/cpuinfo/src/
Dapi.c30 uint32_t cpuinfo_cache_count[cpuinfo_cache_level_max] = { 0 }; variable
224 if CPUINFO_UNLIKELY(index >= cpuinfo_cache_count[cpuinfo_cache_level_1i]) { in cpuinfo_get_l1i_cache()
234 if CPUINFO_UNLIKELY(index >= cpuinfo_cache_count[cpuinfo_cache_level_1d]) { in cpuinfo_get_l1d_cache()
244 if CPUINFO_UNLIKELY(index >= cpuinfo_cache_count[cpuinfo_cache_level_2]) { in cpuinfo_get_l2_cache()
254 if CPUINFO_UNLIKELY(index >= cpuinfo_cache_count[cpuinfo_cache_level_3]) { in cpuinfo_get_l3_cache()
264 if CPUINFO_UNLIKELY(index >= cpuinfo_cache_count[cpuinfo_cache_level_4]) { in cpuinfo_get_l4_cache()
274 return cpuinfo_cache_count[cpuinfo_cache_level_1i]; in cpuinfo_get_l1i_caches_count()
281 return cpuinfo_cache_count[cpuinfo_cache_level_1d]; in cpuinfo_get_l1d_caches_count()
288 return cpuinfo_cache_count[cpuinfo_cache_level_2]; in cpuinfo_get_l2_caches_count()
295 return cpuinfo_cache_count[cpuinfo_cache_level_3]; in cpuinfo_get_l3_caches_count()
[all …]
/external/cpuinfo/src/emscripten/
Dinit.c243 cpuinfo_cache_count[cpuinfo_cache_level_1i] = processor_count; in cpuinfo_emscripten_init()
244 cpuinfo_cache_count[cpuinfo_cache_level_1d] = processor_count; in cpuinfo_emscripten_init()
245 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_emscripten_init()
247 cpuinfo_cache_count[cpuinfo_cache_level_3] = 1; in cpuinfo_emscripten_init()
/external/cpuinfo/src/x86/mach/
Dinit.c322 cpuinfo_cache_count[cpuinfo_cache_level_1i] = l1_count; in cpuinfo_x86_mach_init()
323 cpuinfo_cache_count[cpuinfo_cache_level_1d] = l1_count; in cpuinfo_x86_mach_init()
324 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_x86_mach_init()
325 cpuinfo_cache_count[cpuinfo_cache_level_3] = l3_count; in cpuinfo_x86_mach_init()
326 cpuinfo_cache_count[cpuinfo_cache_level_4] = l4_count; in cpuinfo_x86_mach_init()
/external/cpuinfo/src/arm/mach/
Dinit.c592 cpuinfo_cache_count[cpuinfo_cache_level_1i] = l1_count; in cpuinfo_arm_mach_init()
593 cpuinfo_cache_count[cpuinfo_cache_level_1d] = l1_count; in cpuinfo_arm_mach_init()
594 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_arm_mach_init()
595 cpuinfo_cache_count[cpuinfo_cache_level_3] = l3_count; in cpuinfo_arm_mach_init()
/external/cpuinfo/src/x86/linux/
Dinit.c586 cpuinfo_cache_count[cpuinfo_cache_level_1i] = l1i_count; in cpuinfo_x86_linux_init()
587 cpuinfo_cache_count[cpuinfo_cache_level_1d] = l1d_count; in cpuinfo_x86_linux_init()
588 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_x86_linux_init()
589 cpuinfo_cache_count[cpuinfo_cache_level_3] = l3_count; in cpuinfo_x86_linux_init()
590 cpuinfo_cache_count[cpuinfo_cache_level_4] = l4_count; in cpuinfo_x86_linux_init()
/external/cpuinfo/src/cpuinfo/
Dinternal-api.h35 extern CPUINFO_INTERNAL uint32_t cpuinfo_cache_count[cpuinfo_cache_level_max];
/external/cpuinfo/src/x86/windows/
Dinit.c581 cpuinfo_cache_count[cpuinfo_cache_level_1i] = l1i_count; in cpuinfo_x86_windows_init()
582 cpuinfo_cache_count[cpuinfo_cache_level_1d] = l1d_count; in cpuinfo_x86_windows_init()
583 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_x86_windows_init()
584 cpuinfo_cache_count[cpuinfo_cache_level_3] = l3_count; in cpuinfo_x86_windows_init()
585 cpuinfo_cache_count[cpuinfo_cache_level_4] = l4_count; in cpuinfo_x86_windows_init()
/external/cpuinfo/src/arm/linux/
Dinit.c728 cpuinfo_cache_count[cpuinfo_cache_level_1i] = valid_processors; in cpuinfo_arm_linux_init()
729 cpuinfo_cache_count[cpuinfo_cache_level_1d] = valid_processors; in cpuinfo_arm_linux_init()
730 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_arm_linux_init()
731 cpuinfo_cache_count[cpuinfo_cache_level_3] = l3_count; in cpuinfo_arm_linux_init()