From: Philippe Waroquiers Date: Sat, 23 May 2015 15:35:29 +0000 (+0000) Subject: helgrind stats: give the memory occupied by the OldRef X-Git-Tag: svn/VALGRIND_3_11_0~347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2550bcbf3ea424e33f37f787b40d79a4e475e318;p=thirdparty%2Fvalgrind.git helgrind stats: give the memory occupied by the OldRef git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15284 --- diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c index 7fbca3ab90..7cf70c08e4 100644 --- a/helgrind/libhb_core.c +++ b/helgrind/libhb_core.c @@ -6524,7 +6524,8 @@ void libhb_shutdown ( Bool show_stats ) } tl_assert(OldRef_n == oldrefTreeN); - VG_(printf)( " libhb: oldrefTreeN %lu ", oldrefTreeN); + VG_(printf)( " libhb: oldrefTreeN %lu (%d bytes)\n", + oldrefTreeN, (int)(oldrefTreeN * sizeof(OldRef))); VG_(printf)( "( "); for (i = 0; i <= N_OLDREF_ACCS; i++) VG_(printf)( "accs[%d]=%lu ", i, OldRef_accs_n[i]);