Home
last modified time | relevance | path

Searched refs:associativity (Results 1 – 25 of 121) sorted by relevance

12345

/external/cpuinfo/src/arm/
Dcache.c35 .associativity = 32, in cpuinfo_arm_decode_cache()
40 .associativity = 4, in cpuinfo_arm_decode_cache()
48 .associativity = 32, in cpuinfo_arm_decode_cache()
53 .associativity = 32, in cpuinfo_arm_decode_cache()
65 .associativity = 4, in cpuinfo_arm_decode_cache()
70 .associativity = 4, in cpuinfo_arm_decode_cache()
75 .associativity = 8, in cpuinfo_arm_decode_cache()
84 .associativity = 4, in cpuinfo_arm_decode_cache()
89 .associativity = 4, in cpuinfo_arm_decode_cache()
139 .associativity = 2, in cpuinfo_arm_decode_cache()
[all …]
/external/cpuinfo/src/x86/cache/
Ddescriptor.c44 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
57 .associativity = 2, in cpuinfo_x86_decode_cache_descriptor()
70 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
83 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
96 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
109 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
124 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
139 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
154 .associativity = 2, in cpuinfo_x86_decode_cache_descriptor()
169 .associativity = 4, in cpuinfo_x86_decode_cache_descriptor()
[all …]
Ddeterministic.c32 const uint32_t associativity = 1 + (regs.ebx >> 22); in cpuinfo_x86_decode_deterministic_cache_parameters() local
50 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters()
51 .associativity = associativity, in cpuinfo_x86_decode_deterministic_cache_parameters()
61 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters()
62 .associativity = associativity, in cpuinfo_x86_decode_deterministic_cache_parameters()
72 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters()
73 .associativity = associativity, in cpuinfo_x86_decode_deterministic_cache_parameters()
92 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters()
93 .associativity = associativity, in cpuinfo_x86_decode_deterministic_cache_parameters()
112 .size = associativity * partitions * line_size * sets, in cpuinfo_x86_decode_deterministic_cache_parameters()
[all …]
/external/cpuinfo/test/mock/
Dgalaxy-s9-us.cc553 TEST(L1I, associativity) { in TEST() argument
555 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
562 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
618 TEST(L1D, associativity) { in TEST() argument
625 ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
631 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
640 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
696 TEST(L2, associativity) { in TEST() argument
703 ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity); in TEST()
709 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dgalaxy-s9-global.cc599 TEST(L1I, associativity) { in TEST() argument
601 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
608 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
677 TEST(L1D, associativity) { in TEST() argument
684 ASSERT_EQ(8, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
690 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
699 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
742 TEST(L2, associativity) { in TEST() argument
744 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
751 …ache(i)->line_size * cpuinfo_get_l2_cache(i)->partitions * cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dgalaxy-c9-pro.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
627 TEST(L1D, associativity) { in TEST() argument
634 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
640 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
649 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
699 TEST(L2, associativity) { in TEST() argument
701 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dgalaxy-s6.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
627 TEST(L1D, associativity) { in TEST() argument
634 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
640 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
649 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
699 TEST(L2, associativity) { in TEST() argument
701 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dlenovo-vibe-x2.cc502 TEST(L1I, associativity) { in TEST() argument
509 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
515 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
524 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
580 TEST(L1D, associativity) { in TEST() argument
582 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
589 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
639 TEST(L2, associativity) { in TEST() argument
643 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
646 ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dnexus6p.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
627 TEST(L1D, associativity) { in TEST() argument
634 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
640 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
649 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
699 TEST(L2, associativity) { in TEST() argument
701 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dgalaxy-s5-global.cc521 TEST(L1I, associativity) { in TEST() argument
523 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
530 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
586 TEST(L1D, associativity) { in TEST() argument
593 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
599 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
608 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
658 TEST(L2, associativity) { in TEST() argument
662 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
665 ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Doppo-r15.cc542 TEST(L1I, associativity) { in TEST() argument
549 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
555 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
564 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
620 TEST(L1D, associativity) { in TEST() argument
627 ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
633 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
642 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
692 TEST(L2, associativity) { in TEST() argument
694 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dhuawei-honor-6.cc521 TEST(L1I, associativity) { in TEST() argument
523 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
530 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
586 TEST(L1D, associativity) { in TEST() argument
593 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
599 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
608 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
658 TEST(L2, associativity) { in TEST() argument
662 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
665 ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dhuawei-mate-8.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
627 TEST(L1D, associativity) { in TEST() argument
634 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
640 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
649 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
699 TEST(L2, associativity) { in TEST() argument
701 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dmeizu-pro-7-plus.cc627 TEST(L1I, associativity) { in TEST() argument
632 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
642 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
651 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
709 TEST(L1D, associativity) { in TEST() argument
714 ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
724 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
733 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
784 TEST(L2, associativity) { in TEST() argument
789 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dhuawei-mate-20.cc592 TEST(L1I, associativity) { in TEST() argument
594 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
601 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
657 TEST(L1D, associativity) { in TEST() argument
659 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
666 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
722 TEST(L2, associativity) { in TEST() argument
729 ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity); in TEST()
735 ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->associativity); in TEST()
744 …ache(i)->line_size * cpuinfo_get_l2_cache(i)->partitions * cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dscaleway.cc155 TEST(L1I, associativity) { in TEST() argument
157 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
206 TEST(L1D, associativity) { in TEST() argument
208 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
257 TEST(L2, associativity) { in TEST() argument
259 ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity); in TEST()
Dgalaxy-s8-global.cc582 TEST(L1I, associativity) { in TEST() argument
589 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
595 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
604 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
660 TEST(L1D, associativity) { in TEST() argument
667 ASSERT_EQ(8, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
673 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
682 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
732 TEST(L2, associativity) { in TEST() argument
734 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Doneplus-5t.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
640 TEST(L1D, associativity) { in TEST() argument
647 ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
653 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
662 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
712 TEST(L2, associativity) { in TEST() argument
714 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dmeizu-pro-6.cc619 TEST(L1I, associativity) { in TEST() argument
624 ASSERT_EQ(3, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
634 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
643 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
701 TEST(L1D, associativity) { in TEST() argument
706 ASSERT_EQ(2, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
716 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
725 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
776 TEST(L2, associativity) { in TEST() argument
778 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dgalaxy-a8-2018.cc576 TEST(L1I, associativity) { in TEST() argument
581 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
589 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
598 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
641 TEST(L1D, associativity) { in TEST() argument
646 ASSERT_EQ(8, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
654 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
663 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
713 TEST(L2, associativity) { in TEST() argument
715 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dhuawei-mate-10.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
640 TEST(L1D, associativity) { in TEST() argument
647 ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
653 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
662 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
712 TEST(L2, associativity) { in TEST() argument
714 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
Dxiaomi-redmi-note-3.cc560 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()
[all …]
Dhuawei-mate-9.cc562 TEST(L1I, associativity) { in TEST() argument
569 ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
575 ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); in TEST()
584 …he(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); in TEST()
640 TEST(L1D, associativity) { in TEST() argument
647 ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
653 ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); in TEST()
662 …he(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); in TEST()
712 TEST(L2, associativity) { in TEST() argument
714 ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); in TEST()
[all …]
/external/cpuinfo/src/emscripten/
Dinit.c20 .associativity = 16,
137 .associativity = 4, in cpuinfo_emscripten_init()
147 .associativity = 4, in cpuinfo_emscripten_init()
158 .associativity = 8, in cpuinfo_emscripten_init()
197 .associativity = 8, in cpuinfo_emscripten_init()
208 .associativity = 8, in cpuinfo_emscripten_init()
/external/cpuinfo/src/x86/mach/
Dinit.c197 .associativity = x86_processor.cache.l1i.associativity, in cpuinfo_x86_mach_init()
221 .associativity = x86_processor.cache.l1d.associativity, in cpuinfo_x86_mach_init()
245 .associativity = x86_processor.cache.l2.associativity, in cpuinfo_x86_mach_init()
269 .associativity = x86_processor.cache.l3.associativity, in cpuinfo_x86_mach_init()
293 .associativity = x86_processor.cache.l4.associativity, in cpuinfo_x86_mach_init()

12345