]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Heap profiler: reduce threshold at which a new profile is shown for
authorJulian Seward <jseward@acm.org>
Mon, 26 Sep 2011 20:17:41 +0000 (20:17 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 26 Sep 2011 20:17:41 +0000 (20:17 +0000)
an arena from 10% to 5%.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12052

coregrind/m_mallocfree.c

index fdf945d365707c10b783bd1514c2c74f11d98842..9881246e9a04aa6751a5461f9ca3e3b38af28608 100644 (file)
@@ -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);
       }