Home
last modified time | relevance | path

Searched refs:cpuinfo_get_package (Results 1 – 25 of 85) sorted by relevance

1234

/external/cpuinfo/test/mock/
Dmoto-g-gen3.cc35 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 …]
Dgalaxy-s3-us.cc35 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 …]
Dmoto-e-gen1.cc35 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 …]
Dmoto-g-gen1.cc35 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 …]
Dlenovo-a6600-plus.cc35 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 …]
Dgalaxy-win-duos.cc35 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 …]
Dgalaxy-j1-2016.cc35 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 …]
Dlg-optimus-g-pro.cc35 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 …]
Dxperia-sl.cc35 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 …]
Dnexus6.cc35 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 …]
Dmoto-g-gen2.cc35 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 …]
Datm7029b-tablet.cc35 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 …]
Dgalaxy-tab-3-7.0.cc35 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 …]
Dgalaxy-tab-3-lite.cc35 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 …]
Dgalaxy-grand-prime-value-edition.cc35 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 …]
Dblu-r1-hd.cc35 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 …]
Dgalaxy-s4-us.cc35 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 …]
Dnexus-s.cc35 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 …]
Dpadcod-10.1.cc35 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 …]
Dgalaxy-s5-us.cc35 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 …]
Dlg-k10-eu.cc35 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 …]
Dnexus10.cc35 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 …]
Dgalaxy-j5.cc35 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 …]
Dnexus4.cc35 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 …]
Dhuawei-ascend-p7.cc35 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 …]

1234