Hi Ilpo,
On 8/8/2023 2:16 AM, Ilpo Järvinen wrote:
struct resctrl_val_param contains span member. resctrl_val(), however, never uses it because the value of span is embedded into the default benchmark command and parsed from it by run_benchmark().
Remove span from resctrl_val_param. Provide DEFAULT_SPAN for the code that needs it. CMT and CAT tests communicate span that is different from the DEFAULT_SPAN between their internal functions which is converted into passing it directly as a parameter.
Signed-off-by: Ilpo Järvinen ilpo.jarvinen@linux.intel.com
If I understand correctly the custom benchmark has always been required to operate on the same span as the default benchmark in order for the results to be measured accurately.
Thank you for eliminating unnecessary code.
Reviewed-by: Reinette Chatre reinette.chatre@intel.com
Reinette