when isomalloc_sync, prints the isomalloc region
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 13 Jan 2009 16:23:34 +0000 (16:23 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 13 Jan 2009 16:23:34 +0000 (16:23 +0000)
src/conv-core/isomalloc.c

index 69d0fcba58fd89923e16ce780b19c80706b6976a..f91767c28893dd00eaf3692505963ad2939e99c9 100644 (file)
@@ -1952,11 +1952,11 @@ static void init_ranges(char **argv)
               /* update */
             freeRegion.start = (void *)s;
             freeRegion.len = (char *)e -(char *)s;
-#if CMK_THREADS_DEBUG
+
+            if (CmiMyPe() == 0)
             CmiPrintf("[%d] consolidated Isomalloc memory region: %p - %p (%d megs)\n",CmiMyPe(),
              freeRegion.start,freeRegion.start+freeRegion.len,
              freeRegion.len/meg);
-#endif
           }   /* end of barrier test */
         }