Profiling DRI drivers
Dodji Seketeli
dodji at seketeli.org
Tue Nov 20 08:11:06 PST 2007
On Tue, 20 Nov 2007 15:50:27 +0000,
"José Fonseca" <jrfonseca at tungstengraphics.com> wrote :
> I've been spending a lot of time profiling DRI drivers for Gallium 3D.
> I've tried gprof, valgrind, and finally oprofile. Oprofile seems the
> best in my opinion for this purpose. (I haven't tried Sysprof yet
> though). I wrote about it in http://dri.freedesktop.org/wiki/Profiling
> .
>
> I also wrote a script to generate a time-colored call graph from
> oprofile output, using graphviz. The script available from
> http://code.google.com/p/jrfonseca/wiki/Gprof2Dot . See an output
> example of profiling glxgears on Gallium 3D on
> http://people.freedesktop.org/~jrfonseca/profiling/oprofile-gallium.png
> . The hotter the colour of a function is, more time is spent on that
> function and its children.
Man that is *neat*. Thank you for that :-)
Cheers,
--
Dodji Seketeli
http://www.seketeli.org/dodji
More information about the xorg
mailing list