Lines Matching refs:cpuinfo_get_l2_cache
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()
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()
708 …cpuinfo_get_l2_cache(i)->sets * cpuinfo_get_l2_cache(i)->line_size * cpuinfo_get_l2_cache(i)->part… 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()