Browse Source

starpu_perfmodel_plot: Do not display regressions for time+energy graphs

Samuel Thibault 4 years ago
parent
commit
781105a87e
1 changed files with 2 additions and 3 deletions
  1. 2 3
      tools/starpu_perfmodel_plot.c

+ 2 - 3
tools/starpu_perfmodel_plot.c

@@ -538,9 +538,8 @@ static void display_selected_models(FILE *gnuplot_file, struct starpu_perfmodel
 	fprintf(gnuplot_file, "plot\t");
 
 	/* display all or selected combinations */
-	display_all_perf_models(gnuplot_file, model, &first, options);
-	if (options->energy_symbol)
-		display_all_perf_models(gnuplot_file, energy_model, &first, options);
+	if (!options->energy_symbol)
+		display_all_perf_models(gnuplot_file, model, &first, options);
 	display_history_based_perf_models(gnuplot_file, model, energy_model, &first, options);
 
 	free(symbol);