Browse Source

gdbinit: make starpu-memusage show the total memory size

Samuel Thibault 4 years ago
parent
commit
4e9b1e774c
1 changed files with 1 additions and 1 deletions
  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