To be able to get additional information about the nature of the Flow result a reference to the Flow is added to result data.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py b/lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py index 9cc91ab5..c5e65044 100644 --- a/lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py +++ b/lnst/RecipeCommon/Perf/Measurements/BaseFlowMeasurement.py @@ -302,7 +302,8 @@ class BaseFlowMeasurement(BaseMeasurement): generator_flow_data=generator, generator_cpu_data=generator_cpu, receiver_flow_data=receiver, - receiver_cpu_data=receiver_cpu)) + receiver_cpu_data=receiver_cpu, + flow=flow_results.flow))
def aggregate_results(self, old, new): aggregated = []