Kaynağa Gözat

mpi/src/starpu_mpi_stats.c: do not display stats if STARPU_SILENT is defined

Nathalie Furmento 12 yıl önce
ebeveyn
işleme
27cf34430c
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      mpi/src/starpu_mpi_stats.c

+ 1 - 0
mpi/src/starpu_mpi_stats.c

@@ -74,6 +74,7 @@ void _starpu_mpi_comm_amounts_display(int node)
 	size_t sum = 0;
 
 	if (stats_enabled == 0) return;
+	if (getenv("STARPU_SILENT")) return;
 
 	for (dst = 0; dst < world_size; dst++)
 	{