OSDN Git Service

selftests/resctrl: Read memory bandwidth from perf IMC counter and from resctrl file...
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Thu, 16 Jan 2020 21:32:36 +0000 (13:32 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 11 Feb 2020 01:38:08 +0000 (18:38 -0700)
commit1d3f08687d76c0a80be35bbab6d64b1a8f2730e8
tree52ca1e9b31c7bfb627d5b20c6391a20a456904b0
parent591a6e8588fc1dbdc04355e8ad7b0be43d221c9c
selftests/resctrl: Read memory bandwidth from perf IMC counter and from resctrl file system

Total memory bandwidth can be monitored from perf IMC counter and from
resctrl file system. Later the two will be compared to verify the total
memory bandwidth read from resctrl is correct.

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>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/resctrl_val.c [new file with mode: 0644]