aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphilippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-05-23 15:35:29 +0000
committerphilippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-05-23 15:35:29 +0000
commit1e798b0e596bd836ef93287add8401488c4fb824 (patch)
tree00f0de4e6f3379750c305e86c3d31eac3bfe6875
parenta4b20c089072bdaf83938044ec077a6a89622481 (diff)
downloadvalgrind-1e798b0e596bd836ef93287add8401488c4fb824.tar.gz
helgrind stats: give the memory occupied by the OldRef
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15284 a5019735-40e9-0310-863c-91ae7b9d1cf9
-rw-r--r--helgrind/libhb_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c
index 7fbca3ab9..7cf70c08e 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]);