|
From: Jin T. L. <jl...@co...> - 2014-05-11 20:55:18
|
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 <jr...@Bi...> 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: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |