/external/cpuinfo/src/emscripten/ |
D | init.c | 125 .processor_start = i * processors_per_core, in cpuinfo_emscripten_init() 141 .processor_start = i * processors_per_core, in cpuinfo_emscripten_init() 151 .processor_start = i * processors_per_core, in cpuinfo_emscripten_init() 162 .processor_start = i * processors_per_core, in cpuinfo_emscripten_init() 170 .processor_start = 0, in cpuinfo_emscripten_init() 184 .processor_start = 0, in cpuinfo_emscripten_init() 201 .processor_start = 0, in cpuinfo_emscripten_init() 212 .processor_start = big_cluster_core_count, in cpuinfo_emscripten_init() 217 .processor_start = big_cluster_core_count, in cpuinfo_emscripten_init()
|
/external/cpuinfo/test/ |
D | init.cc | 58 EXPECT_GE(i, core->processor_start); in TEST() 59 EXPECT_LT(i, core->processor_start + core->processor_count); in TEST() 83 EXPECT_GE(i, cluster->processor_start); in TEST() 84 EXPECT_LT(i, cluster->processor_start + cluster->processor_count); in TEST() 108 EXPECT_GE(i, package->processor_start); in TEST() 109 EXPECT_LT(i, package->processor_start + package->processor_count); in TEST() 121 EXPECT_GE(i, l1i->processor_start); in TEST() 122 EXPECT_LT(i, l1i->processor_start + l1i->processor_count); in TEST() 135 EXPECT_GE(i, l1d->processor_start); in TEST() 136 EXPECT_LT(i, l1d->processor_start + l1d->processor_count); in TEST() [all …]
|
/external/cpuinfo/test/mock/ |
D | meizu-pro-6.cc | 134 TEST(CORES, processor_start) { in TEST() argument 136 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 260 TEST(CLUSTERS, processor_start) { in TEST() argument 264 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 267 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_start); in TEST() 270 ASSERT_EQ(6, cpuinfo_get_cluster(i)->processor_start); in TEST() 398 TEST(PACKAGES, processor_start) { in TEST() argument 400 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 667 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 749 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() [all …]
|
D | meizu-pro-6s.cc | 134 TEST(CORES, processor_start) { in TEST() argument 136 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 260 TEST(CLUSTERS, processor_start) { in TEST() argument 264 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 267 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_start); in TEST() 270 ASSERT_EQ(6, cpuinfo_get_cluster(i)->processor_start); in TEST() 398 TEST(PACKAGES, processor_start) { in TEST() argument 400 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 667 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 749 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() [all …]
|
D | meizu-pro-7-plus.cc | 134 TEST(CORES, processor_start) { in TEST() argument 136 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 264 TEST(CLUSTERS, processor_start) { in TEST() argument 268 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 271 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_start); in TEST() 274 ASSERT_EQ(6, cpuinfo_get_cluster(i)->processor_start); in TEST() 406 TEST(PACKAGES, processor_start) { in TEST() argument 408 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 675 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 757 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() [all …]
|
D | moto-g-gen4.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 197 TEST(CLUSTERS, processor_start) { in TEST() argument 201 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 204 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 283 TEST(PACKAGES, processor_start) { in TEST() argument 285 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 522 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 574 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 635 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | xperia-c4-dual.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 197 TEST(CLUSTERS, processor_start) { in TEST() argument 201 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 204 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 283 TEST(PACKAGES, processor_start) { in TEST() argument 285 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 542 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 594 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 648 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-c9-pro.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 236 TEST(CLUSTERS, processor_start) { in TEST() argument 240 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 243 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 343 TEST(PACKAGES, processor_start) { in TEST() argument 345 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 608 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 673 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 741 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | alcatel-revvl.cc | 110 TEST(CORES, processor_start) { in TEST() argument 112 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 182 TEST(CLUSTERS, processor_start) { in TEST() argument 186 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 189 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 282 TEST(PACKAGES, processor_start) { in TEST() argument 284 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 521 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 573 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 627 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | huawei-p9-lite.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 210 TEST(CLUSTERS, processor_start) { in TEST() argument 214 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 217 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 303 TEST(PACKAGES, processor_start) { in TEST() argument 305 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 542 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 594 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 648 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | oppo-r9.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 210 TEST(CLUSTERS, processor_start) { in TEST() argument 214 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 217 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 303 TEST(PACKAGES, processor_start) { in TEST() argument 305 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 562 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 614 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 668 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-s6.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 236 TEST(CLUSTERS, processor_start) { in TEST() argument 240 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 243 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 343 TEST(PACKAGES, processor_start) { in TEST() argument 345 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 608 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 673 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 741 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-a8-2016-duos.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 210 TEST(CLUSTERS, processor_start) { in TEST() argument 214 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 217 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 303 TEST(PACKAGES, processor_start) { in TEST() argument 305 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 514 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 566 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 627 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | lenovo-vibe-x2.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 217 TEST(CLUSTERS, processor_start) { in TEST() argument 221 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 224 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 324 TEST(PACKAGES, processor_start) { in TEST() argument 326 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 561 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 613 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 681 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-j7-uae.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 197 TEST(CLUSTERS, processor_start) { in TEST() argument 201 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 204 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 283 TEST(PACKAGES, processor_start) { in TEST() argument 285 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 522 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 574 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 628 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | nexus6p.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 236 TEST(CLUSTERS, processor_start) { in TEST() argument 240 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 243 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 343 TEST(PACKAGES, processor_start) { in TEST() argument 345 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 608 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 673 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 741 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-s5-global.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 236 TEST(CLUSTERS, processor_start) { in TEST() argument 240 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 243 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 343 TEST(PACKAGES, processor_start) { in TEST() argument 345 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 567 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 632 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 700 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | pixel-xl.cc | 110 TEST(CORES, processor_start) { in TEST() argument 112 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 199 TEST(CLUSTERS, processor_start) { in TEST() argument 203 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 206 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_start); in TEST() 299 TEST(PACKAGES, processor_start) { in TEST() argument 301 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 538 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 590 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 651 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | xiaomi-redmi-note-4.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 197 TEST(CLUSTERS, processor_start) { in TEST() argument 201 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 204 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 283 TEST(PACKAGES, processor_start) { in TEST() argument 285 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 522 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 574 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 635 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | oppo-r15.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 223 TEST(CLUSTERS, processor_start) { in TEST() argument 227 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 230 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 323 TEST(PACKAGES, processor_start) { in TEST() argument 325 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 588 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 666 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 734 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | moto-g-gen5.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 210 TEST(CLUSTERS, processor_start) { in TEST() argument 214 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 217 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 296 TEST(PACKAGES, processor_start) { in TEST() argument 298 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 507 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 559 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 620 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-j7-tmobile.cc | 122 TEST(CORES, processor_start) { in TEST() argument 124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 197 TEST(CLUSTERS, processor_start) { in TEST() argument 201 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 204 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 283 TEST(PACKAGES, processor_start) { in TEST() argument 285 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 522 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 574 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 628 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | galaxy-s7-us.cc | 110 TEST(CORES, processor_start) { in TEST() argument 112 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 199 TEST(CLUSTERS, processor_start) { in TEST() argument 203 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 206 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_start); in TEST() 299 TEST(PACKAGES, processor_start) { in TEST() argument 301 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 538 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 590 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 651 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | oneplus-3t.cc | 110 TEST(CORES, processor_start) { in TEST() argument 112 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 199 TEST(CLUSTERS, processor_start) { in TEST() argument 203 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 206 ASSERT_EQ(2, cpuinfo_get_cluster(i)->processor_start); in TEST() 299 TEST(PACKAGES, processor_start) { in TEST() argument 301 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 538 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 590 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 651 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|
D | huawei-p8-lite.cc | 109 TEST(CORES, processor_start) { in TEST() argument 111 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST() 184 TEST(CLUSTERS, processor_start) { in TEST() argument 188 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST() 191 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST() 270 TEST(PACKAGES, processor_start) { in TEST() argument 272 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 509 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST() 561 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST() 615 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST() [all …]
|