Searched refs:l4_count (Results 1 – 4 of 4) sorted by relevance
/external/cpuinfo/src/x86/mach/ |
D | init.c | 170 uint32_t threads_per_l4 = 0, l4_count = 0; in cpuinfo_x86_mach_init() local 183 l4_count = mach_topology.threads / threads_per_l4; in cpuinfo_x86_mach_init() 184 cpuinfo_log_debug("detected %"PRIu32" L4 caches", l4_count); in cpuinfo_x86_mach_init() 283 if (l4_count != 0) { in cpuinfo_x86_mach_init() 284 l4 = calloc(l4_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_mach_init() 287 l4_count * sizeof(struct cpuinfo_cache), l4_count); in cpuinfo_x86_mach_init() 290 for (uint32_t c = 0; c < l4_count; c++) { in cpuinfo_x86_mach_init() 326 cpuinfo_cache_count[cpuinfo_cache_level_4] = l4_count; in cpuinfo_x86_mach_init()
|
/external/cpuinfo/src/x86/linux/ |
D | init.c | 70 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_count_objects() local 129 l4_count++; in cpuinfo_x86_count_objects() 141 *l4_count_ptr = l4_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 …_count, &clusters_count, &packages_count, &l1i_count, &l1d_count, &l2_count, &l3_count, &l4_count); in cpuinfo_x86_linux_init() 262 cpuinfo_log_debug("detected %"PRIu32" L4 caches", l4_count); in cpuinfo_x86_linux_init() 333 if (l4_count != 0) { in cpuinfo_x86_linux_init() 334 l4 = calloc(l4_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init() 337 l4_count * sizeof(struct cpuinfo_cache), l4_count); in cpuinfo_x86_linux_init() 590 cpuinfo_cache_count[cpuinfo_cache_level_4] = l4_count; in cpuinfo_x86_linux_init()
|
/external/cpuinfo/src/x86/windows/ |
D | init.c | 48 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_count_caches() local 87 l4_count++; in cpuinfo_x86_count_caches() 95 *l4_count_ptr = l4_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() 422 if (l4_count != 0) { in cpuinfo_x86_windows_init() 423 l4 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l4_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init() 426 l4_count * sizeof(struct cpuinfo_cache), l4_count); in cpuinfo_x86_windows_init() 585 cpuinfo_cache_count[cpuinfo_cache_level_4] = l4_count; in cpuinfo_x86_windows_init()
|
/external/XNNPACK/third_party/ |
D | cpuinfo.patch | 515 *l4_count_ptr = l4_count;
|