Home
last modified time | relevance | path

Searched refs:l2_count (Results 1 – 7 of 7) sorted by relevance

/external/cpuinfo/src/x86/mach/
Dinit.c136 uint32_t threads_per_l2 = 0, l2_count = 0; in cpuinfo_x86_mach_init() local
150 l2_count = mach_topology.threads / threads_per_l2; in cpuinfo_x86_mach_init()
151 cpuinfo_log_debug("detected %"PRIu32" L2 caches", l2_count); in cpuinfo_x86_mach_init()
235 if (l2_count != 0) { in cpuinfo_x86_mach_init()
236 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_mach_init()
239 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_x86_mach_init()
242 for (uint32_t c = 0; c < l2_count; c++) { in cpuinfo_x86_mach_init()
324 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_x86_mach_init()
/external/cpuinfo/src/emscripten/
Dinit.c59 uint32_t l2_count = is_x86 ? core_count : cluster_count; in cpuinfo_emscripten_init() local
94 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_emscripten_init()
97 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_emscripten_init()
245 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_emscripten_init()
/external/cpuinfo/src/arm/mach/
Dinit.c464 uint32_t threads_per_l2 = 0, l2_count = 0; in cpuinfo_arm_mach_init() local
468 l2_count = 1; in cpuinfo_arm_mach_init()
469 cpuinfo_log_debug("detected %"PRIu32" L2 caches", l2_count); in cpuinfo_arm_mach_init()
528 if (l2_count != 0) { in cpuinfo_arm_mach_init()
529 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_arm_mach_init()
532 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_arm_mach_init()
535 for (uint32_t c = 0; c < l2_count; c++) { in cpuinfo_arm_mach_init()
594 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_arm_mach_init()
/external/cpuinfo/src/x86/linux/
Dinit.c70 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_count_objects() local
115 l2_count++; in cpuinfo_x86_count_objects()
139 *l2_count_ptr = l2_count; in cpuinfo_x86_count_objects()
250 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_linux_init() local
253 …&cores_count, &clusters_count, &packages_count, &l1i_count, &l1d_count, &l2_count, &l3_count, &l4_… in cpuinfo_x86_linux_init()
260 cpuinfo_log_debug("detected %"PRIu32" L2 caches", l2_count); in cpuinfo_x86_linux_init()
317 if (l2_count != 0) { in cpuinfo_x86_linux_init()
318 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
321 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_x86_linux_init()
588 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_x86_linux_init()
/external/cpuinfo/src/x86/windows/
Dinit.c48 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_count_caches() local
73 l2_count++; in cpuinfo_x86_count_caches()
93 *l2_count_ptr = l2_count; in cpuinfo_x86_count_caches()
385 uint32_t l1i_count, l1d_count, l2_count, l3_count, l4_count; in cpuinfo_x86_windows_init() local
387 &l1i_count, &l1d_count, &l2_count, &l3_count, &l4_count); in cpuinfo_x86_windows_init()
406 if (l2_count != 0) { in cpuinfo_x86_windows_init()
407 l2 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l2_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
410 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_x86_windows_init()
583 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_x86_windows_init()
/external/cpuinfo/src/arm/linux/
Dinit.c510 uint32_t l2_count = 0, l3_count = 0, big_l3_size = 0, cluster_id = UINT32_MAX; in cpuinfo_arm_linux_init() local
595 l2_count += 1; in cpuinfo_arm_linux_init()
612 l2_count += 1; in cpuinfo_arm_linux_init()
618 if (l2_count != 0) { in cpuinfo_arm_linux_init()
619 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_arm_linux_init()
622 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_arm_linux_init()
730 cpuinfo_cache_count[cpuinfo_cache_level_2] = l2_count; in cpuinfo_arm_linux_init()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c349 struct v3dv_subpass_attachment *l2, uint32_t l2_count) in attachment_list_is_subset() argument
357 for (j = 0; j < l2_count; j++) { in attachment_list_is_subset()
361 if (j == l2_count) in attachment_list_is_subset()