|
From: <sv...@va...> - 2015-05-23 15:35:39
|
Author: philippe
Date: Sat May 23 16:35:29 2015
New Revision: 15284
Log:
helgrind stats: give the memory occupied by the OldRef
Modified:
trunk/helgrind/libhb_core.c
Modified: trunk/helgrind/libhb_core.c
==============================================================================
--- trunk/helgrind/libhb_core.c (original)
+++ trunk/helgrind/libhb_core.c Sat May 23 16:35:29 2015
@@ -6524,7 +6524,8 @@
}
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]);
|