Home
last modified time | relevance | path

Searched refs:processor_count (Results 1 – 25 of 91) sorted by relevance

1234

/external/cpuinfo/test/
Dinit.cc34 EXPECT_LT(processor->smt_id, core->processor_count); in TEST()
59 EXPECT_LT(i, core->processor_start + core->processor_count); in TEST()
84 EXPECT_LT(i, cluster->processor_start + cluster->processor_count); in TEST()
109 EXPECT_LT(i, package->processor_start + package->processor_count); in TEST()
122 EXPECT_LT(i, l1i->processor_start + l1i->processor_count); in TEST()
136 EXPECT_LT(i, l1d->processor_start + l1d->processor_count); in TEST()
150 EXPECT_LT(i, l2->processor_start + l2->processor_count); in TEST()
164 EXPECT_LT(i, l3->processor_start + l3->processor_count); in TEST()
178 EXPECT_LT(i, l4->processor_start + l4->processor_count); in TEST()
212 EXPECT_NE(0, core->processor_count); in TEST()
[all …]
/external/cpuinfo/src/x86/linux/
Dinit.c394 .processor_count = 1, in cpuinfo_x86_linux_init()
407 cores[core_index].processor_count++; in cpuinfo_x86_linux_init()
413 clusters[cluster_index].processor_count = 1; in cpuinfo_x86_linux_init()
424 clusters[cluster_index].processor_count++; in cpuinfo_x86_linux_init()
430 packages[package_index].processor_count = 1; in cpuinfo_x86_linux_init()
437 packages[package_index].processor_count++; in cpuinfo_x86_linux_init()
457 .processor_count = 1, in cpuinfo_x86_linux_init()
461 l1i[l1i_index].processor_count += 1; in cpuinfo_x86_linux_init()
482 .processor_count = 1, in cpuinfo_x86_linux_init()
486 l1d[l1d_index].processor_count += 1; in cpuinfo_x86_linux_init()
[all …]
/external/cpuinfo/test/mock/
Dmeizu-pro-7-plus.cc140 TEST(CORES, processor_count) { in TEST() argument
142 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
280 TEST(CLUSTERS, processor_count) { in TEST() argument
284 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
287 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
290 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
412 TEST(PACKAGES, processor_count) { in TEST() argument
414 ASSERT_EQ(10, cpuinfo_get_package(i)->processor_count); in TEST()
676 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
758 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
[all …]
Dmeizu-pro-6s.cc140 TEST(CORES, processor_count) { in TEST() argument
142 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
276 TEST(CLUSTERS, processor_count) { in TEST() argument
280 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
283 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
286 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
404 TEST(PACKAGES, processor_count) { in TEST() argument
406 ASSERT_EQ(10, cpuinfo_get_package(i)->processor_count); in TEST()
668 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
750 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
[all …]
Dmeizu-pro-6.cc140 TEST(CORES, processor_count) { in TEST() argument
142 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
276 TEST(CLUSTERS, processor_count) { in TEST() argument
280 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
283 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
286 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
404 TEST(PACKAGES, processor_count) { in TEST() argument
406 ASSERT_EQ(10, cpuinfo_get_package(i)->processor_count); in TEST()
668 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
750 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
[all …]
Dalcatel-revvl.cc116 TEST(CORES, processor_count) { in TEST() argument
118 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
195 TEST(CLUSTERS, processor_count) { in TEST() argument
199 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
202 ASSERT_EQ(1, cpuinfo_get_cluster(i)->processor_count); in TEST()
288 TEST(PACKAGES, processor_count) { in TEST() argument
290 ASSERT_EQ(5, cpuinfo_get_package(i)->processor_count); in TEST()
522 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
574 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
628 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
[all …]
Dxiaomi-redmi-2a.cc109 TEST(CORES, processor_count) { in TEST() argument
111 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
188 TEST(CLUSTERS, processor_count) { in TEST() argument
192 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
195 ASSERT_EQ(1, cpuinfo_get_cluster(i)->processor_count); in TEST()
281 TEST(PACKAGES, processor_count) { in TEST() argument
283 ASSERT_EQ(5, cpuinfo_get_package(i)->processor_count); in TEST()
487 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
539 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
600 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
[all …]
Dxiaomi-redmi-note-3.cc122 TEST(CORES, processor_count) { in TEST() argument
124 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
235 TEST(CLUSTERS, processor_count) { in TEST() argument
239 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
242 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
349 TEST(PACKAGES, processor_count) { in TEST() argument
351 ASSERT_EQ(6, cpuinfo_get_package(i)->processor_count); in TEST()
605 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
668 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
736 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
[all …]
Dgalaxy-a8-2018.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
249 TEST(CLUSTERS, processor_count) { in TEST() argument
253 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
256 ASSERT_EQ(6, cpuinfo_get_cluster(i)->processor_count); in TEST()
363 TEST(PACKAGES, processor_count) { in TEST() argument
365 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
623 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
688 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
756 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
[all …]
Dgalaxy-s9-global.cc141 TEST(CORES, processor_count) { in TEST() argument
143 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
275 TEST(CLUSTERS, processor_count) { in TEST() argument
277 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
382 TEST(PACKAGES, processor_count) { in TEST() argument
384 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
646 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
724 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
781 ASSERT_EQ(1, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
785 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
[all …]
Dnexus5x.cc122 TEST(CORES, processor_count) { in TEST() argument
124 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
235 TEST(CLUSTERS, processor_count) { in TEST() argument
239 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
242 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
349 TEST(PACKAGES, processor_count) { in TEST() argument
351 ASSERT_EQ(6, cpuinfo_get_package(i)->processor_count); in TEST()
605 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
668 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
736 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
[all …]
Dgalaxy-s5-global.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
249 TEST(CLUSTERS, processor_count) { in TEST() argument
251 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
349 TEST(PACKAGES, processor_count) { in TEST() argument
351 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
568 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
633 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
701 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
705 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dmoto-g-gen5.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
223 TEST(CLUSTERS, processor_count) { in TEST() argument
225 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
302 TEST(PACKAGES, processor_count) { in TEST() argument
304 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
508 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
560 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
621 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
625 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dgalaxy-j7-tmobile.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
210 TEST(CLUSTERS, processor_count) { in TEST() argument
212 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
289 TEST(PACKAGES, processor_count) { in TEST() argument
291 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
523 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
575 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
629 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
633 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dlenovo-vibe-x2.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
230 TEST(CLUSTERS, processor_count) { in TEST() argument
232 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
330 TEST(PACKAGES, processor_count) { in TEST() argument
332 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
562 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
614 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
682 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
686 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dhuawei-honor-6.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
249 TEST(CLUSTERS, processor_count) { in TEST() argument
251 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
349 TEST(PACKAGES, processor_count) { in TEST() argument
351 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
568 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
633 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
701 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
705 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Doppo-r9.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
223 TEST(CLUSTERS, processor_count) { in TEST() argument
225 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
309 TEST(PACKAGES, processor_count) { in TEST() argument
311 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
563 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
615 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
669 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
673 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dgalaxy-a8-2016-duos.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
223 TEST(CLUSTERS, processor_count) { in TEST() argument
225 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
309 TEST(PACKAGES, processor_count) { in TEST() argument
311 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
515 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
567 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
628 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
632 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dmoto-g-gen4.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
210 TEST(CLUSTERS, processor_count) { in TEST() argument
212 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
289 TEST(PACKAGES, processor_count) { in TEST() argument
291 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
523 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
575 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
636 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
640 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dgalaxy-s7-us.cc116 TEST(CORES, processor_count) { in TEST() argument
118 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
212 TEST(CLUSTERS, processor_count) { in TEST() argument
214 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
305 TEST(PACKAGES, processor_count) { in TEST() argument
307 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST()
539 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
591 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
652 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
656 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dgalaxy-j7-uae.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
210 TEST(CLUSTERS, processor_count) { in TEST() argument
212 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
289 TEST(PACKAGES, processor_count) { in TEST() argument
291 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
523 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
575 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
629 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
633 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dxperia-c4-dual.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
210 TEST(CLUSTERS, processor_count) { in TEST() argument
212 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
289 TEST(PACKAGES, processor_count) { in TEST() argument
291 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
543 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
595 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
649 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
653 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dgalaxy-c9-pro.cc128 TEST(CORES, processor_count) { in TEST() argument
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
249 TEST(CLUSTERS, processor_count) { in TEST() argument
251 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
349 TEST(PACKAGES, processor_count) { in TEST() argument
351 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
609 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
674 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
742 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
746 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
Dpixel-xl.cc116 TEST(CORES, processor_count) { in TEST() argument
118 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
212 TEST(CLUSTERS, processor_count) { in TEST() argument
214 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_count); in TEST()
305 TEST(PACKAGES, processor_count) { in TEST() argument
307 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST()
539 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
591 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
652 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
656 ASSERT_EQ(2, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
/external/cpuinfo/src/x86/windows/
Dinit.c319 package->processor_count += 1; in cpuinfo_x86_windows_init()
323 cluster->processor_count += 1; in cpuinfo_x86_windows_init()
327 core->processor_count += 1; in cpuinfo_x86_windows_init()
437 .processor_count = 1, in cpuinfo_x86_windows_init()
441 l1i[l1i_index].processor_count += 1; in cpuinfo_x86_windows_init()
462 .processor_count = 1, in cpuinfo_x86_windows_init()
466 l1d[l1d_index].processor_count += 1; in cpuinfo_x86_windows_init()
487 .processor_count = 1, in cpuinfo_x86_windows_init()
491 l2[l2_index].processor_count += 1; in cpuinfo_x86_windows_init()
512 .processor_count = 1, in cpuinfo_x86_windows_init()
[all …]

1234