summaryrefslogtreecommitdiff
path: root/lib/test_debug_virtual.c
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2020-01-16 13:32:42 -0800
committerShuah Khan <skhan@linuxfoundation.org>2020-02-10 18:43:07 -0700
commit790bf585b0eeec9aa0e680ba090142b98da7f948 (patch)
treef1b40393432f99083d2ab610c9ebb3cf541b6e34 /lib/test_debug_virtual.c
parent78941183d1b151317beb37b25690b7d87fe2596d (diff)
selftests/resctrl: Add Cache Allocation Technology (CAT) selftest
Cache Allocation Technology (CAT) selftest allocates a portion of last level cache and starts a benchmark to read each cache line in this portion of cache. Measure the cache misses in perf and the misses should be equal to the number of cache lines in this portion of cache. We don't use CQM to calculate cache usage because some CAT enabled platforms don't have CQM. Co-developed-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Co-developed-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions