The version of valgrind: valgrind-3.9.0
HW/OS: Macbook pro retina(core: i7), Ubuntu 12.04 on Parallels. 

Following link has the callgrind file.
https://www.dropbox.com/s/241sovlq14nrxmi/callgrind.tar.gz

I’m not sure the function name,
but the caller of the function is “create_internal_node_use_extension”, incl. 
is 70.73%
This function is a directly recursive function.
If you see the callees tab, you can see one of the callee takes 408.45%
However, if you see call graph, this callee is disappeared.

I turned on “Relative”, “Cycle Detection”, “Relative to Parent” option in 
kcachegrind.


On May 11, 2014, at 2:17 PM, John Reiser <jrei...@bitwagon.com> wrote:

>> While I was profiling CGAL4.4 Spatial searching with callgrind,
>> I found that some function takes more than 100% of instruction. :(
>> I compiled CGAL with -g and -O0 options.
>> 
>> Is this common for other applications?
> 
> No.
> 
>> Any idea??
> 
> Tell us which version of callgrind.
> Tell us the name of the hardware architecture and operating system and 
> runtime library.
> Tell us the name of the function, and the actual counts which seem bad.
> Is there only one function with bad counts?
> Is it directly recursive (calls itself)?
> Is it indirectly recursive (is in a recursive loop of multiple functions)?
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> Valgrind-users mailing list
> Valgrind-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/valgrind-users

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to