Re: [Valgrind-users] excluding cost of valgrind hooks fromcallgrind/cachegrind

2011-09-01 Thread Josef Weidendorfer
Just some followup... On Tuesday 30 August 2011, Christoph Schwarz wrote: > On 30/08/2011 3:50 AM, WAROQUIERS Philippe wrote: > >> However, the cost seems to include overhead from valgrind itself, such > >> as malloc& other hooks. ... > > Are you sure these hooks are from valgrind ? ... > Probabl

Re: [Valgrind-users] excluding cost of valgrind hooks fromcallgrind/cachegrind

2011-08-30 Thread Christoph Schwarz
On 30/08/2011 3:50 AM, WAROQUIERS Philippe wrote: >> However, the cost seems to include overhead from valgrind itself, such >> as malloc& other hooks. >> (I see in the call graph that malloc calls "malloc_hook_ini" >> once with a >> cost of around 60,000 Ir. >> Having only one a few mallocs in a p

Re: [Valgrind-users] excluding cost of valgrind hooks fromcallgrind/cachegrind

2011-08-30 Thread WAROQUIERS Philippe
>However, the cost seems to include overhead from valgrind itself, such >as malloc & other hooks. >(I see in the call graph that malloc calls "malloc_hook_ini" >once with a >cost of around 60,000 Ir. >Having only one a few mallocs in a particluar algorithm this overhead >greatly distorts test r