Przeglądaj źródła

there is no need to set these variables to zero when we are using the PajeSetVariable event only

Lucas Schnorr 8 lat temu
rodzic
commit
8472efdd87
1 zmienionych plików z 0 dodań i 12 usunięć
  1. 0 12
      src/debug/traces/starpu_fxt_mpi.c

+ 0 - 12
src/debug/traces/starpu_fxt_mpi.c

@@ -228,18 +228,6 @@ static void display_all_transfers_from_trace(FILE *out_paje_file, unsigned n)
 	char mpi_container[STARPU_POTI_STR_LEN];
 #endif
 
-	for (node = 0; node < n ; node++)
-	{
-#ifdef STARPU_HAVE_POTI
-		snprintf(mpi_container, sizeof(mpi_container), "%u_mpict", node);
-		poti_SetVariable(0., mpi_container, "bwi_mpi", 0.);
-		poti_SetVariable(0., mpi_container, "bwo_mpi", 0.);
-#else
-		fprintf(out_paje_file, "13	%.9f	%u_mpict	bwi_mpi	%f\n", 0., node, 0.);
-		fprintf(out_paje_file, "13	%.9f	%u_mpict	bwo_mpi	%f\n", 0., node, 0.);
-#endif
-	}
-
 	mpi_transfer_list_init(&pending_receives);
 
 	while (1)