瀏覽代碼

gdbinit: make starpu-memusage show the total memory size

Samuel Thibault 4 年之前
父節點
當前提交
4e9b1e774c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/gdbinit

+ 1 - 1
tools/gdbinit

@@ -766,7 +766,7 @@ define starpu-memusage
   set scheduler-locking on
   set $node = 0
   while $node < _starpu_descr.nnodes
-    printf "\n\nNode %u:\n", $node
+    printf "\n\nNode %u (%dMiB):\n", $node, global_size[$node] >> 20
     set $total = 0
     set $total_b = 0
     set $wt = 0