<div dir="ltr">Hello,<div><br></div><div>we are currently doing some performance testing of our GPU code and have found that <span class="">apitrace</span> (a tool we really appreciate!) contains a profiling tool that works with OpenGL.</div><div><br></div><div>However
 we are a bit unsure how to interpret the results. According to the 
Profile Results a lot of GPU time seems to be spent in draw calls of a 
few simple shaders that don't draw a lot of pixels, whereas the complex 
shaders that draw lots of pixels seem to be fairly quick. Also some of 
the GPU draw call times seem to vary by orders of magnitude for the same
 shader and operation (i.e. one call takes ~20 us and the next draw 
call, performing the exact same operation with the same shader but 
possibly to a different part of the framebuffer, takes 10000 us).</div><div>We
 suspect the execution times aren't always true compute times but may 
contain stall times. Another theory is that some of the draw call times 
are actually just scheduling times and the real computation time ends up
 counting towards another draw call timing, when a batch of operations 
gets executed.</div><div><br></div><div>Any insight into how to 
interpret the Profile Results and how to derive optimization insight 
from it would be greatly appreciated.</div><div><br></div><div>For testing we are currently using a MS Surface Pro 3 tablet running Windows 8.1.</div><div><br></div><div>Thanks,</div><div>Rafael</div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(136,136,136)">Rafael Spring</span><div style="color:rgb(136,136,136)">CTO, Co-Founder</div><div style="color:rgb(136,136,136)">DotProduct LLC / DotProduct GmbH</div><div style="color:rgb(136,136,136)"><a href="mailto:rafael@dotproduct3d.com" style="color:rgb(17,85,204)" target="_blank">rafael@dotproduct3d.com</a></div><div style="color:rgb(136,136,136)"><a href="http://www.dotproduct3d.com/" style="color:rgb(17,85,204)" target="_blank">www.dotproduct3d.com</a></div><div style="color:rgb(136,136,136)">m: +49 1525 3822738</div><div style="color:rgb(136,136,136)">@DotProduct3D</div></div></div>
</div>