ソースを参照

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

Nathalie Furmento 12 年 前
コミット
27cf34430c
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  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++)
 	{