浏览代码

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++)
 	{