|
From: <sv...@va...> - 2006-10-12 18:10:03
|
Author: sewardj
Date: 2006-10-12 19:09:58 +0100 (Thu, 12 Oct 2006)
New Revision: 6214
Log:
Futz with the estimated-translation sizes to make them more plausible
for 32-bit ppc land. The advantage of having estimated sizes at least
roughly in line with reality is it allows the translation cache and
table(s) to fill up to something approaching their designed capacity,
about 500k translations IIRC.
Modified:
branches/AIX5/cachegrind/cg_main.c
branches/AIX5/callgrind/main.c
branches/AIX5/coregrind/m_transtab.c
branches/AIX5/helgrind/hg_main.c
branches/AIX5/include/pub_tool_tooliface.h
branches/AIX5/lackey/lk_main.c
branches/AIX5/memcheck/mc_main.c
Modified: branches/AIX5/cachegrind/cg_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/cachegrind/cg_main.c 2006-10-12 18:06:28 UTC (rev 6213)
+++ branches/AIX5/cachegrind/cg_main.c 2006-10-12 18:09:58 UTC (rev 6214)
@@ -1347,7 +1347,7 @@
VG_(details_copyright_author)(
"Copyright (C) 2002-2006, and GNU GPL'd, by Nicholas Nethercote et=
al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
- VG_(details_avg_translation_sizeB) ( 245 );
+ VG_(details_avg_translation_sizeB) ( 500 );
=20
VG_(basic_tool_funcs) (cg_post_clo_init,
cg_instrument,
Modified: branches/AIX5/callgrind/main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/callgrind/main.c 2006-10-12 18:06:28 UTC (rev 6213)
+++ branches/AIX5/callgrind/main.c 2006-10-12 18:09:58 UTC (rev 6214)
@@ -1076,7 +1076,7 @@
VG_(details_copyright_author)("Copyright (C) 2002-2006, and GNU GPL'=
d, "
"by Josef Weidendorfer et al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
- VG_(details_avg_translation_sizeB) ( 245 );
+ VG_(details_avg_translation_sizeB) ( 500 );
=20
VG_(basic_tool_funcs) (CLG_(post_clo_init),
CLG_(instrument),
Modified: branches/AIX5/coregrind/m_transtab.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/coregrind/m_transtab.c 2006-10-12 18:06:28 UTC (rev 621=
3)
+++ branches/AIX5/coregrind/m_transtab.c 2006-10-12 18:09:58 UTC (rev 621=
4)
@@ -1404,7 +1404,7 @@
=20
/* Ensure the calculated value is not way crazy. */
vg_assert(tc_sector_szQ >=3D 2 * N_TTES_PER_SECTOR_USABLE);
- vg_assert(tc_sector_szQ <=3D 50 * N_TTES_PER_SECTOR_USABLE);
+ vg_assert(tc_sector_szQ <=3D 80 * N_TTES_PER_SECTOR_USABLE);
=20
/* Initialise the sectors */
youngest_sector =3D 0;
Modified: branches/AIX5/helgrind/hg_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/helgrind/hg_main.c 2006-10-12 18:06:28 UTC (rev 6213)
+++ branches/AIX5/helgrind/hg_main.c 2006-10-12 18:09:58 UTC (rev 6214)
@@ -3385,7 +3385,7 @@
VG_(details_copyright_author)(
"Copyright (C) 2002-2006, and GNU GPL'd, by Nicholas Nethercote et=
al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
- VG_(details_avg_translation_sizeB) ( 115 );
+ VG_(details_avg_translation_sizeB) ( 300 );
=20
VG_(basic_tool_funcs) (hg_post_clo_init,
hg_instrument,
Modified: branches/AIX5/include/pub_tool_tooliface.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/include/pub_tool_tooliface.h 2006-10-12 18:06:28 UTC (r=
ev 6213)
+++ branches/AIX5/include/pub_tool_tooliface.h 2006-10-12 18:09:58 UTC (r=
ev 6214)
@@ -112,7 +112,7 @@
=20
/* Default value for avg_translations_sizeB (in bytes), indicating typic=
al
code expansion of about 6:1. */
-#define VG_DEFAULT_TRANS_SIZEB 100
+#define VG_DEFAULT_TRANS_SIZEB 172
=20
/* Information used in the startup message. `name' also determines the
string used for identifying suppressions in a suppression file as
Modified: branches/AIX5/lackey/lk_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/lackey/lk_main.c 2006-10-12 18:06:28 UTC (rev 6213)
+++ branches/AIX5/lackey/lk_main.c 2006-10-12 18:09:58 UTC (rev 6214)
@@ -811,7 +811,7 @@
VG_(details_copyright_author)(
"Copyright (C) 2002-2006, and GNU GPL'd, by Nicholas Nethercote.")=
;
VG_(details_bug_reports_to) (VG_BUGS_TO);
- VG_(details_avg_translation_sizeB) ( 175 );
+ VG_(details_avg_translation_sizeB) ( 200 );
=20
VG_(basic_tool_funcs) (lk_post_clo_init,
lk_instrument,
Modified: branches/AIX5/memcheck/mc_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/memcheck/mc_main.c 2006-10-12 18:06:28 UTC (rev 6213)
+++ branches/AIX5/memcheck/mc_main.c 2006-10-12 18:09:58 UTC (rev 6214)
@@ -4800,7 +4800,7 @@
VG_(details_copyright_author)(
"Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.")=
;
VG_(details_bug_reports_to) (VG_BUGS_TO);
- VG_(details_avg_translation_sizeB) ( 370 );
+ VG_(details_avg_translation_sizeB) ( 556 );
=20
VG_(basic_tool_funcs) (mc_post_clo_init,
MC_(instrument),
|