Memcheck, None: update avg translation size to be more realistic.

Massif: specify avg translation size at all, so as to avoid excessive
retranslations caused by the fact that the default value is far below
reality for Massif.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11494
This commit is contained in:
Julian Seward 2011-01-10 15:01:03 +00:00
parent 28e09daf10
commit 1852adcac0
4 changed files with 6 additions and 2 deletions

View File

@ -1556,7 +1556,7 @@ void VG_(init_tt_tc) ( void )
/* Ensure the calculated value is not way crazy. */
vg_assert(tc_sector_szQ >= 2 * N_TTES_PER_SECTOR_USABLE);
vg_assert(tc_sector_szQ <= 80 * N_TTES_PER_SECTOR_USABLE);
vg_assert(tc_sector_szQ <= 100 * N_TTES_PER_SECTOR_USABLE);
/* Initialise the sectors */
youngest_sector = 0;

View File

@ -2491,6 +2491,8 @@ static void ms_pre_clo_init(void)
"Copyright (C) 2003-2010, and GNU GPL'd, by Nicholas Nethercote");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 330 );
// Basic functions.
VG_(basic_tool_funcs) (ms_post_clo_init,
ms_instrument,

View File

@ -5788,7 +5788,7 @@ static void mc_pre_clo_init(void)
VG_(details_copyright_author)(
"Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 556 );
VG_(details_avg_translation_sizeB) ( 640 );
VG_(basic_tool_funcs) (mc_post_clo_init,
MC_(instrument),

View File

@ -58,6 +58,8 @@ static void nl_pre_clo_init(void)
"Copyright (C) 2002-2010, and GNU GPL'd, by Nicholas Nethercote.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 275 );
VG_(basic_tool_funcs) (nl_post_clo_init,
nl_instrument,
nl_fini);