Hi Ilpo, On 5/20/24 5:30 AM, Ilpo Järvinen wrote:
The measurement done in resctrl_val() varies depending on test type. The decision for how to measure is decided based on the string compare to test name which is quite inflexible. Add ->measure() callback into the struct resctrl_val_param to allow each test to provide necessary code as a function which simplifies what resctrl_val() has to do. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> ---
Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx> Reinette