Lines Matching refs:ASSERT_EQ
8 ASSERT_EQ(8, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
34 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
40 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
48 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
59 ASSERT_EQ(i + 4, cpuinfo_get_processor(i)->linux_id); in TEST()
65 ASSERT_EQ(i - 4, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i); in TEST()
79 ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d); in TEST()
90 ASSERT_EQ(cpuinfo_get_l2_cache(i), cpuinfo_get_processor(i)->cache.l2); in TEST()
96 ASSERT_EQ(cpuinfo_get_l2_cache(4), cpuinfo_get_processor(i)->cache.l2); in TEST()
109 ASSERT_EQ(cpuinfo_get_l3_cache(0), cpuinfo_get_processor(i)->cache.l3); in TEST()
128 ASSERT_EQ(8, cpuinfo_get_cores_count()); in TEST()
137 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST()
143 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
149 ASSERT_EQ(i, cpuinfo_get_core(i)->core_id); in TEST()
160 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_core(i)->cluster); in TEST()
166 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_core(i)->cluster); in TEST()
174 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST()
185 ASSERT_EQ(cpuinfo_vendor_samsung, cpuinfo_get_core(i)->vendor); in TEST()
191 ASSERT_EQ(cpuinfo_vendor_arm, cpuinfo_get_core(i)->vendor); in TEST()
204 ASSERT_EQ(cpuinfo_uarch_meerkat_m3, cpuinfo_get_core(i)->uarch); in TEST()
210 ASSERT_EQ(cpuinfo_uarch_cortex_a55, cpuinfo_get_core(i)->uarch); in TEST()
223 ASSERT_EQ(UINT32_C(0x531F0020), cpuinfo_get_core(i)->midr); in TEST()
229 ASSERT_EQ(UINT32_C(0x410FD051), cpuinfo_get_core(i)->midr); in TEST()
242 ASSERT_EQ(UINT64_C(2704000000), cpuinfo_get_core(i)->frequency); in TEST()
248 ASSERT_EQ(UINT64_C(1794000000), cpuinfo_get_core(i)->frequency); in TEST()
255 ASSERT_EQ(2, cpuinfo_get_clusters_count()); in TEST()
266 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST()
269 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST()
277 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
285 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST()
288 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST()
296 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_count); in TEST()
302 ASSERT_EQ(i, cpuinfo_get_cluster(i)->cluster_id); in TEST()
308 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST()
316 ASSERT_EQ(cpuinfo_vendor_samsung, cpuinfo_get_cluster(i)->vendor); in TEST()
319 ASSERT_EQ(cpuinfo_vendor_arm, cpuinfo_get_cluster(i)->vendor); in TEST()
329 ASSERT_EQ(cpuinfo_uarch_meerkat_m3, cpuinfo_get_cluster(i)->uarch); in TEST()
332 ASSERT_EQ(cpuinfo_uarch_cortex_a55, cpuinfo_get_cluster(i)->uarch); in TEST()
342 ASSERT_EQ(UINT32_C(0x531F0020), cpuinfo_get_cluster(i)->midr); in TEST()
345 ASSERT_EQ(UINT32_C(0x410FD051), cpuinfo_get_cluster(i)->midr); in TEST()
355 ASSERT_EQ(UINT64_C(2704000000), cpuinfo_get_cluster(i)->frequency); in TEST()
358 ASSERT_EQ(UINT64_C(1794000000), cpuinfo_get_cluster(i)->frequency); in TEST()
365 ASSERT_EQ(1, cpuinfo_get_packages_count()); in TEST()
370 ASSERT_EQ("Samsung Exynos 9810", in TEST()
378 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST()
384 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
390 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
396 ASSERT_EQ(8, cpuinfo_get_package(i)->core_count); in TEST()
402 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST()
408 ASSERT_EQ(2, cpuinfo_get_package(i)->cluster_count); in TEST()
573 ASSERT_EQ(8, cpuinfo_get_l1i_caches_count()); in TEST()
587 ASSERT_EQ(64 * 1024, cpuinfo_get_l1i_cache(i)->size); in TEST()
593 ASSERT_EQ(32 * 1024, cpuinfo_get_l1i_cache(i)->size); in TEST()
601 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
607 ASSERT_EQ(cpuinfo_get_l1i_cache(i)->size, in TEST()
614 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->partitions); in TEST()
625 ASSERT_EQ(128, cpuinfo_get_l1i_cache(i)->line_size); in TEST()
631 ASSERT_EQ(64, cpuinfo_get_l1i_cache(i)->line_size); in TEST()
639 ASSERT_EQ(0, cpuinfo_get_l1i_cache(i)->flags); in TEST()
645 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST()
646 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
651 ASSERT_EQ(8, cpuinfo_get_l1d_caches_count()); in TEST()
665 ASSERT_EQ(64 * 1024, cpuinfo_get_l1d_cache(i)->size); in TEST()
671 ASSERT_EQ(32 * 1024, cpuinfo_get_l1d_cache(i)->size); in TEST()
684 ASSERT_EQ(8, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
690 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
698 ASSERT_EQ(cpuinfo_get_l1d_cache(i)->size, in TEST()
705 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->partitions); in TEST()
711 ASSERT_EQ(64, cpuinfo_get_l1d_cache(i)->line_size); in TEST()
717 ASSERT_EQ(0, cpuinfo_get_l1d_cache(i)->flags); in TEST()
723 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST()
724 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
729 ASSERT_EQ(5, cpuinfo_get_l2_caches_count()); in TEST()
738 ASSERT_EQ(512 * 1024, cpuinfo_get_l2_cache(i)->size); in TEST()
744 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
750 ASSERT_EQ(cpuinfo_get_l2_cache(i)->size, in TEST()
757 ASSERT_EQ(1, cpuinfo_get_l2_cache(i)->partitions); in TEST()
763 ASSERT_EQ(64, cpuinfo_get_l2_cache(i)->line_size); in TEST()
769 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->flags); in TEST()
780 ASSERT_EQ(i, cpuinfo_get_l2_cache(i)->processor_start); in TEST()
781 ASSERT_EQ(1, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
784 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_start); in TEST()
785 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
792 ASSERT_EQ(1, cpuinfo_get_l3_caches_count()); in TEST()
803 ASSERT_EQ(4 * 1024 * 1024, cpuinfo_get_l3_cache(i)->size); in TEST()
811 ASSERT_EQ(16, cpuinfo_get_l3_cache(i)->associativity); in TEST()
817 ASSERT_EQ(cpuinfo_get_l3_cache(i)->size, in TEST()
824 ASSERT_EQ(1, cpuinfo_get_l3_cache(i)->partitions); in TEST()
830 ASSERT_EQ(64, cpuinfo_get_l3_cache(i)->line_size); in TEST()
836 ASSERT_EQ(0, cpuinfo_get_l3_cache(i)->flags); in TEST()
842 ASSERT_EQ(0, cpuinfo_get_l3_cache(i)->processor_start); in TEST()
843 ASSERT_EQ(4, cpuinfo_get_l3_cache(i)->processor_count); in TEST()
848 ASSERT_EQ(0, cpuinfo_get_l4_caches_count()); in TEST()