(cherry picked from commit 7fb9e9af99f7692a903e12674d28adc25cb32eb2)
@@ -54,7 +54,7 @@ def task_submit(*, name=None, synchronous=0, priority=0, color=None, flops=None,
return call_task_submit
# dump performance model and show the plot
-def perfmodel_plot(perfmodel, view=False):
+def perfmodel_plot(perfmodel, view=True):
p=dict_perf[perfmodel]
starpupy.save_history_based_model(p.get_struct())
if view == True:
@@ -96,6 +96,6 @@ async def main():
#print(res3)
asyncio.run(main())
-starpu.perfmodel_plot(perfmodel="first")#,view=True
-starpu.perfmodel_plot(perfmodel="second")
-starpu.perfmodel_plot(perfmodel="third")
+starpu.perfmodel_plot(perfmodel="first",view=False)
+starpu.perfmodel_plot(perfmodel="second",view=False)
+starpu.perfmodel_plot(perfmodel="third",view=False)