/external/cpuinfo/test/mock/ |
D | moto-g-gen3.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-s3-us.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(2, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | moto-e-gen1.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(2, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | moto-g-gen1.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | lenovo-a6600-plus.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-win-duos.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-j1-2016.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | lg-optimus-g-pro.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | xperia-sl.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(2, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | nexus6.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | moto-g-gen2.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | atm7029b-tablet.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-tab-3-7.0.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(2, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-tab-3-lite.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-grand-prime-value-edition.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | blu-r1-hd.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 216 std::string(cpuinfo_get_package(i)->name, in TEST() 217 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 223 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 229 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 235 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 241 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 247 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-s4-us.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | nexus-s.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(1, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(1, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | padcod-10.1.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-s5-us.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | lg-k10-eu.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | nexus10.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(2, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(2, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | galaxy-j5.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | nexus4.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|
D | huawei-ascend-p7.cc | 35 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST() 109 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST() 177 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST() 212 std::string(cpuinfo_get_package(i)->name, in TEST() 213 strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); in TEST() 219 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST() 225 ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count); in TEST() 231 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST() 237 ASSERT_EQ(4, cpuinfo_get_package(i)->core_count); in TEST() 243 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST() [all …]
|