• Home
  • Raw
  • Download

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(0), cpuinfo_get_processor(i)->cache.l2); in TEST()
96 ASSERT_EQ(cpuinfo_get_l2_cache(1), cpuinfo_get_processor(i)->cache.l2); in TEST()
115 ASSERT_EQ(8, cpuinfo_get_cores_count()); in TEST()
124 ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); in TEST()
130 ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); in TEST()
136 ASSERT_EQ(i, cpuinfo_get_core(i)->core_id); in TEST()
147 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_core(i)->cluster); in TEST()
153 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_core(i)->cluster); in TEST()
161 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); in TEST()
167 ASSERT_EQ(cpuinfo_vendor_arm, cpuinfo_get_core(i)->vendor); in TEST()
178 ASSERT_EQ(cpuinfo_uarch_cortex_a57, cpuinfo_get_core(i)->uarch); in TEST()
184 ASSERT_EQ(cpuinfo_uarch_cortex_a53, cpuinfo_get_core(i)->uarch); in TEST()
197 ASSERT_EQ(UINT32_C(0x411FD071), cpuinfo_get_core(i)->midr); in TEST()
203 ASSERT_EQ(UINT32_C(0x410FD032), cpuinfo_get_core(i)->midr); in TEST()
216 ASSERT_EQ(UINT64_C(1958400000), cpuinfo_get_core(i)->frequency); in TEST()
222 ASSERT_EQ(UINT64_C(1555200000), cpuinfo_get_core(i)->frequency); in TEST()
229 ASSERT_EQ(2, cpuinfo_get_clusters_count()); in TEST()
240 ASSERT_EQ(0, cpuinfo_get_cluster(i)->processor_start); in TEST()
243 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_start); in TEST()
251 ASSERT_EQ(4, cpuinfo_get_cluster(i)->processor_count); in TEST()
259 ASSERT_EQ(0, cpuinfo_get_cluster(i)->core_start); in TEST()
262 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_start); in TEST()
270 ASSERT_EQ(4, cpuinfo_get_cluster(i)->core_count); in TEST()
276 ASSERT_EQ(i, cpuinfo_get_cluster(i)->cluster_id); in TEST()
282 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_cluster(i)->package); in TEST()
288 ASSERT_EQ(cpuinfo_vendor_arm, cpuinfo_get_cluster(i)->vendor); in TEST()
296 ASSERT_EQ(cpuinfo_uarch_cortex_a57, cpuinfo_get_cluster(i)->uarch); in TEST()
299 ASSERT_EQ(cpuinfo_uarch_cortex_a53, cpuinfo_get_cluster(i)->uarch); in TEST()
309 ASSERT_EQ(UINT32_C(0x411FD071), cpuinfo_get_cluster(i)->midr); in TEST()
312 ASSERT_EQ(UINT32_C(0x410FD032), cpuinfo_get_cluster(i)->midr); in TEST()
322 ASSERT_EQ(UINT64_C(1958400000), cpuinfo_get_cluster(i)->frequency); in TEST()
325 ASSERT_EQ(UINT64_C(1555200000), cpuinfo_get_cluster(i)->frequency); in TEST()
332 ASSERT_EQ(1, cpuinfo_get_packages_count()); in TEST()
337 ASSERT_EQ("Qualcomm MSM8994", in TEST()
345 ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); in TEST()
351 ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); in TEST()
357 ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); in TEST()
363 ASSERT_EQ(8, cpuinfo_get_package(i)->core_count); in TEST()
369 ASSERT_EQ(0, cpuinfo_get_package(i)->cluster_start); in TEST()
375 ASSERT_EQ(2, cpuinfo_get_package(i)->cluster_count); in TEST()
536 ASSERT_EQ(8, cpuinfo_get_l1i_caches_count()); in TEST()
550 ASSERT_EQ(48 * 1024, cpuinfo_get_l1i_cache(i)->size); in TEST()
556 ASSERT_EQ(32 * 1024, cpuinfo_get_l1i_cache(i)->size); in TEST()
569 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
583 ASSERT_EQ(cpuinfo_get_l1i_cache(i)->size, in TEST()
590 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->partitions); in TEST()
596 ASSERT_EQ(64, cpuinfo_get_l1i_cache(i)->line_size); in TEST()
602 ASSERT_EQ(0, cpuinfo_get_l1i_cache(i)->flags); in TEST()
608 ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); in TEST()
609 ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); in TEST()
614 ASSERT_EQ(8, cpuinfo_get_l1d_caches_count()); in TEST()
623 ASSERT_EQ(32 * 1024, cpuinfo_get_l1d_cache(i)->size); in TEST()
634 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
640 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
648 ASSERT_EQ(cpuinfo_get_l1d_cache(i)->size, in TEST()
655 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->partitions); in TEST()
661 ASSERT_EQ(64, cpuinfo_get_l1d_cache(i)->line_size); in TEST()
667 ASSERT_EQ(0, cpuinfo_get_l1d_cache(i)->flags); in TEST()
673 ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); in TEST()
674 ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); in TEST()
679 ASSERT_EQ(2, cpuinfo_get_l2_caches_count()); in TEST()
690 ASSERT_EQ(2 * 1024 * 1024, cpuinfo_get_l2_cache(i)->size); in TEST()
693 ASSERT_EQ(512 * 1024, cpuinfo_get_l2_cache(i)->size); in TEST()
701 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
707 ASSERT_EQ(cpuinfo_get_l2_cache(i)->size, in TEST()
714 ASSERT_EQ(1, cpuinfo_get_l2_cache(i)->partitions); in TEST()
720 ASSERT_EQ(64, cpuinfo_get_l2_cache(i)->line_size); in TEST()
728 ASSERT_EQ(CPUINFO_CACHE_INCLUSIVE, cpuinfo_get_l2_cache(i)->flags); in TEST()
731 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->flags); in TEST()
741 ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); in TEST()
742 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
745 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_start); in TEST()
746 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); in TEST()
753 ASSERT_EQ(0, cpuinfo_get_l3_caches_count()); in TEST()
758 ASSERT_EQ(0, cpuinfo_get_l4_caches_count()); in TEST()