/external/cpuinfo/test/ |
D | init.cc | 265 EXPECT_GE(i, cluster->core_start); in TEST() 266 EXPECT_LT(i, cluster->core_start + cluster->core_count); in TEST() 290 EXPECT_GE(i, package->core_start); in TEST() 291 EXPECT_LT(i, package->core_start + package->core_count); in TEST() 395 EXPECT_LT(cluster->core_start, cpuinfo_get_cores_count()); in TEST() 396 EXPECT_LE(cluster->core_start + cluster->core_count, cpuinfo_get_cores_count()); in TEST() 408 const cpuinfo_core* core = cpuinfo_get_core(cluster->core_start + j); in TEST() 465 const cpuinfo_core* core = cpuinfo_get_core(cluster->core_start + j); in TEST() 481 const cpuinfo_core* core = cpuinfo_get_core(cluster->core_start + j); in TEST() 498 const cpuinfo_core* core = cpuinfo_get_core(cluster->core_start + j); in TEST() [all …]
|
/external/cpuinfo/src/emscripten/ |
D | init.c | 172 .core_start = 0, in cpuinfo_emscripten_init() 186 .core_start = 0, in cpuinfo_emscripten_init() 219 .core_start = big_cluster_core_count, in cpuinfo_emscripten_init()
|
/external/cpuinfo/test/mock/ |
D | meizu-pro-6.cc | 292 TEST(CLUSTERS, core_start) { in TEST() argument 296 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 299 ASSERT_EQ(2, cpuinfo_get_cluster(i)->core_start); in TEST() 302 ASSERT_EQ(6, cpuinfo_get_cluster(i)->core_start); in TEST() 410 TEST(PACKAGES, core_start) { in TEST() argument 412 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | meizu-pro-6s.cc | 292 TEST(CLUSTERS, core_start) { in TEST() argument 296 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 299 ASSERT_EQ(2, cpuinfo_get_cluster(i)->core_start); in TEST() 302 ASSERT_EQ(6, cpuinfo_get_cluster(i)->core_start); in TEST() 410 TEST(PACKAGES, core_start) { in TEST() argument 412 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | meizu-pro-7-plus.cc | 296 TEST(CLUSTERS, core_start) { in TEST() argument 300 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 303 ASSERT_EQ(2, cpuinfo_get_cluster(i)->core_start); in TEST() 306 ASSERT_EQ(6, cpuinfo_get_cluster(i)->core_start); in TEST() 418 TEST(PACKAGES, core_start) { in TEST() argument 420 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | moto-g-gen4.cc | 216 TEST(CLUSTERS, core_start) { in TEST() argument 220 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 223 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 295 TEST(PACKAGES, core_start) { in TEST() argument 297 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | xperia-c4-dual.cc | 216 TEST(CLUSTERS, core_start) { in TEST() argument 220 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 223 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 295 TEST(PACKAGES, core_start) { in TEST() argument 297 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-c9-pro.cc | 255 TEST(CLUSTERS, core_start) { in TEST() argument 259 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 262 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 355 TEST(PACKAGES, core_start) { in TEST() argument 357 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | alcatel-revvl.cc | 208 TEST(CLUSTERS, core_start) { in TEST() argument 212 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 215 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 294 TEST(PACKAGES, core_start) { in TEST() argument 296 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | huawei-p9-lite.cc | 229 TEST(CLUSTERS, core_start) { in TEST() argument 233 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 236 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 315 TEST(PACKAGES, core_start) { in TEST() argument 317 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | oppo-r9.cc | 229 TEST(CLUSTERS, core_start) { in TEST() argument 233 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 236 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 315 TEST(PACKAGES, core_start) { in TEST() argument 317 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-s6.cc | 255 TEST(CLUSTERS, core_start) { in TEST() argument 259 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 262 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 355 TEST(PACKAGES, core_start) { in TEST() argument 357 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-a8-2016-duos.cc | 229 TEST(CLUSTERS, core_start) { in TEST() argument 233 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 236 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 315 TEST(PACKAGES, core_start) { in TEST() argument 317 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | lenovo-vibe-x2.cc | 236 TEST(CLUSTERS, core_start) { in TEST() argument 240 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 243 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 336 TEST(PACKAGES, core_start) { in TEST() argument 338 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-j7-uae.cc | 216 TEST(CLUSTERS, core_start) { in TEST() argument 220 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 223 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 295 TEST(PACKAGES, core_start) { in TEST() argument 297 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | nexus6p.cc | 255 TEST(CLUSTERS, core_start) { in TEST() argument 259 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 262 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 355 TEST(PACKAGES, core_start) { in TEST() argument 357 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-s5-global.cc | 255 TEST(CLUSTERS, core_start) { in TEST() argument 259 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 262 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 355 TEST(PACKAGES, core_start) { in TEST() argument 357 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | pixel-xl.cc | 218 TEST(CLUSTERS, core_start) { in TEST() argument 222 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_cluster(i)->core_start); in TEST() 311 TEST(PACKAGES, core_start) { in TEST() argument 313 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | xiaomi-redmi-note-4.cc | 216 TEST(CLUSTERS, core_start) { in TEST() argument 220 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 223 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 295 TEST(PACKAGES, core_start) { in TEST() argument 297 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | oppo-r15.cc | 242 TEST(CLUSTERS, core_start) { in TEST() argument 246 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 249 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 335 TEST(PACKAGES, core_start) { in TEST() argument 337 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | moto-g-gen5.cc | 229 TEST(CLUSTERS, core_start) { in TEST() argument 233 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 236 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 308 TEST(PACKAGES, core_start) { in TEST() argument 310 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-j7-tmobile.cc | 216 TEST(CLUSTERS, core_start) { in TEST() argument 220 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 223 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 295 TEST(PACKAGES, core_start) { in TEST() argument 297 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | galaxy-s7-us.cc | 218 TEST(CLUSTERS, core_start) { in TEST() argument 222 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_cluster(i)->core_start); in TEST() 311 TEST(PACKAGES, core_start) { in TEST() argument 313 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | oneplus-3t.cc | 218 TEST(CLUSTERS, core_start) { in TEST() argument 222 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_cluster(i)->core_start); in TEST() 311 TEST(PACKAGES, core_start) { in TEST() argument 313 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|
D | huawei-p8-lite.cc | 203 TEST(CLUSTERS, core_start) { in TEST() argument 207 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST() 210 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST() 282 TEST(PACKAGES, core_start) { in TEST() argument 284 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
|