Home
last modified time | relevance | path

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

/external/cpuinfo/src/arm/linux/
Dmidr.c513 uint32_t clusters_count, in cpuinfo_arm_linux_detect_cluster_midr_by_chipset() argument
519 if (clusters_count <= CLUSTERS_MAX) { in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
523 …f (cluster_configs[c].cores != processors_count || cluster_configs[c].clusters != clusters_count) { in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
528 for (uint32_t cluster = 0; cluster < clusters_count; cluster++) { in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
537 for (uint32_t cluster = 0; cluster < clusters_count; cluster++) { in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
565 for (uint32_t cluster = 0; cluster < clusters_count; cluster++) { in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
602 uint32_t clusters_count, in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic() argument
609 if (clusters_count != 2 || cluster_with_midr_count != 1) { in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic()
631 for (uint32_t cluster = 0; cluster < clusters_count; cluster++) { in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic()
660 for (uint32_t c = 0; c < clusters_count; c++) { in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic()
[all …]
/external/cpuinfo/src/x86/linux/
Dinit.c69 uint32_t cores_count = 0, clusters_count = 0, packages_count = 0; in cpuinfo_x86_count_objects() local
95 clusters_count++; in cpuinfo_x86_count_objects()
135 *clusters_count_ptr = clusters_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()
256 cpuinfo_log_debug("detected %"PRIu32" clusters", clusters_count); in cpuinfo_x86_linux_init()
287 clusters = calloc(clusters_count, sizeof(struct cpuinfo_cluster)); in cpuinfo_x86_linux_init()
290 clusters_count * sizeof(struct cpuinfo_cluster), clusters_count); in cpuinfo_x86_linux_init()
584 cpuinfo_clusters_count = clusters_count; in cpuinfo_x86_linux_init()