Home
last modified time | relevance | path

Searched refs:cores_count (Results 1 – 2 of 2) sorted by relevance

/external/cpuinfo/src/x86/linux/
Dinit.c69 uint32_t cores_count = 0, clusters_count = 0, packages_count = 0; in cpuinfo_x86_count_objects() local
83 cores_count++; in cpuinfo_x86_count_objects()
134 *cores_count_ptr = cores_count; in cpuinfo_x86_count_objects()
249 uint32_t packages_count = 0, clusters_count = 0, cores_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()
255 cpuinfo_log_debug("detected %"PRIu32" cores", cores_count); in cpuinfo_x86_linux_init()
280 cores = calloc(cores_count, sizeof(struct cpuinfo_core)); in cpuinfo_x86_linux_init()
283 cores_count * sizeof(struct cpuinfo_core), cores_count); in cpuinfo_x86_linux_init()
583 cpuinfo_cores_count = cores_count; in cpuinfo_x86_linux_init()
597 .core_count = cores_count, in cpuinfo_x86_linux_init()
/external/cpuinfo/src/x86/windows/
Dinit.c242 uint32_t cores_count = 0; in cpuinfo_x86_windows_init() local
259 const uint32_t core_id = cores_count++; in cpuinfo_x86_windows_init()
299 cores = HeapAlloc(heap, HEAP_ZERO_MEMORY, cores_count * sizeof(struct cpuinfo_core)); in cpuinfo_x86_windows_init()
302 cores_count * sizeof(struct cpuinfo_core), cores_count); in cpuinfo_x86_windows_init()
349 for (uint32_t i = cores_count; i != 0; i--) { in cpuinfo_x86_windows_init()
578 cpuinfo_cores_count = cores_count; in cpuinfo_x86_windows_init()
592 .core_count = cores_count, in cpuinfo_x86_windows_init()