Forums - Draw call GPU duration?

4 posts / 0 new
Last post
Draw call GPU duration?
pr2723
Join Date: 25 Nov 16
Posts: 9
Posted: Tue, 2017-05-23 18:02

Hi, 

Is there any way to find out how long a draw call takes in GPU (not CPU time)?

  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Wed, 2017-05-24 11:00

Yes, when you do a Snapshot capture you can enable the 'Clocks' metric. That should give how many clocks were spent processing that one drawcall within the GPU overall (including computation, fetching, etc.). Other per-drawcall metrics can give you deeper insight into more specific areas and you can also enable them through the same metrics list.

  • Up0
  • Down0
pr2723
Join Date: 25 Nov 16
Posts: 9
Posted: Wed, 2017-05-24 11:46

Thank you, Carlos. 

Does GPU clock frequency change during draw calls?

 

  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Wed, 2017-05-24 13:57

Hi, yeah that's actually one of the big reasons why this metric is Clocks and not timed duration. The GPU can change frequency and it can't be correlated at a per drawcall basis. If you look at the Options view in the "GL Realtime Overrides" you should be able to disable "GPU DCVS and Napping" which should keep the GPU always on and at max frequency. That way if you want to convert to times you will have a consistent frequency value

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.