Explorar o código

gdbinit: make starpu-memusage show the total memory size

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
4e9b1e774c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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