소스 검색

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

Nathalie Furmento 13 년 전
부모
커밋
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++)
 	{