Lines Matching refs:associativity
560 TEST(L1I, associativity) { in TEST() argument
565 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
571 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
580 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
623 TEST(L1D, associativity) { in TEST() argument
628 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
634 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
643 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
693 TEST(L2, associativity) { in TEST() argument
695 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
702 …ache(i)->line_size * cpuinfo_get_l2_cache(i)->partitions * cpuinfo_get_l2_cache(i)->associativity); in TEST()