[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Profiling DRI drivers
From:       "=?ISO-8859-1?Q?Jos=E9_Fonseca?=" <jrfonseca () tungstengraphics ! com>
Date:       2007-11-20 15:50:27
Message-ID: d19f57950711200750y6796369cg5c282519a9fed1ba () mail ! gmail ! com
[Download RAW message or body]

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.

José Fonseca
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic