浏览代码

src/datawizard/memalloc.c: only display statistics on user-allocated data

Nathalie Furmento 12 年之前
父节点
当前提交
469bf4612d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/datawizard/memalloc.c

+ 2 - 1
src/datawizard/memalloc.c

@@ -1099,7 +1099,8 @@ void _starpu_memory_display_stats_by_node(int node)
 		     mc != _starpu_mem_chunk_list_end(mc_list[node]);
 		     mc = _starpu_mem_chunk_list_next(mc))
 		{
-			_starpu_memory_display_handle_stats(mc->data);
+			if (mc->automatically_allocated == 0)
+				_starpu_memory_display_handle_stats(mc->data);
 		}
 
 	}