]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/resctrl: Add callback to start a benchmark
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Thu, 16 Jan 2020 21:32:37 +0000 (13:32 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 11 Feb 2020 01:38:28 +0000 (18:38 -0700)
commitb5a06e32cb8e50dbfee81841cfa1a876a51815f7
tree03fc067e925d5e7024a8e761298f14d1dcfde917
parent70ac51911c979791dde5e529f6348ff9a8d343c8
selftests/resctrl: Add callback to start a benchmark

The callback starts a child process and puts the child pid in created
resctrl group with specified memory bandwidth in schemata. The child
starts running benchmark.

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.h
tools/testing/selftests/resctrl/resctrl_val.c