[Bug 70613] Repeated function call gives HUGE increases to compile time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 21 07:28:34 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70613

--- Comment #4 from Eero Tamminen <eero.t.tamminen at intel.com> ---
(In reply to comment #3)
> (pprof) top10
> Total: 1537 samples

For profiling single process doing everything on CPU side (like happens with
shader compilation) with low kernel side activity, I would recommend looking at
it with Valgrind's callgrind:
  http://valgrind.org/docs/manual/cl-manual.html

If test program doesn't do anything extra, it's just:
  valgrind --tool=callgrind <program>

Sampling profilers can miss things that Valgrind doesn't, and the callgrind
tool produces also callgraphs, which are best checked with Kcachegrind (which
is included to most distros):
  http://kcachegrind.sourceforge.net/html/Home.html

(Sometimes "--tool=cachegrind" output is also interesting, but I think in this
case callgraph is more.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20131021/c9c19aa0/attachment.html>


More information about the intel-3d-bugs mailing list