Re: [Yade-dev] Questions on profiling

2009-07-07 Thread Václav Šmilauer
1. How comes valgrind/kcachegrind is not removing the time for mcount from results? It would make sense. See answer to 2. mcount() and -p is orthogonal to valgrind profiling technique. 2. Why could I profile for years without option -p and I could get (apparently) consistent results? Valgrind

Re: [Yade-dev] Questions on profiling

2009-07-07 Thread Bruno Chareyre
I can confirm that yade is about 30% faster when profiling is disabled, and that callgring still give similar results (except that it is a lot more readable since you don't have to mentaly remove time spent in mcount). No debug symbols needed either. Bruno Bruno Chareyre a écrit : I just