From: Julian Seward Date: Mon, 26 Sep 2011 20:17:41 +0000 (+0000) Subject: Heap profiler: reduce threshold at which a new profile is shown for X-Git-Tag: svn/VALGRIND_3_7_0~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2f532931301c9f756c5319973cf61e242c1287d;p=thirdparty%2Fvalgrind.git Heap profiler: reduce threshold at which a new profile is shown for an arena from 10% to 5%. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12052 --- diff --git a/coregrind/m_mallocfree.c b/coregrind/m_mallocfree.c index fdf945d365..9881246e9a 100644 --- a/coregrind/m_mallocfree.c +++ b/coregrind/m_mallocfree.c @@ -1578,7 +1578,7 @@ void* VG_(arena_malloc) ( ArenaId aid, HChar* cc, SizeT req_pszB ) /* next profile after 10% more growth */ a->next_profile_at = (SizeT)( - (((ULong)a->stats__bytes_on_loan_max) * 110ULL) / 100ULL ); + (((ULong)a->stats__bytes_on_loan_max) * 105ULL) / 100ULL ); if (VG_(clo_profile_heap)) cc_analyse_alloc_arena(aid); }