소스 검색

starpu_perfmodel_plot: Do not display regressions for time+energy graphs

Samuel Thibault 4 년 전
부모
커밋
781105a87e
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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);