Intel® Graphics Performance Analyzers (Intel® GPA)
Improve your game's performance by quickly specifying problem areas

how could GPA know the cost of each draw call?

jdyyx
Beginner
360 Views

I'm  curious about the way GPA utilize to get the accurate time cost of each D3D function. 

Does it use  D3D query internally?

Thanks!

0 Kudos
4 Replies
Neal_Pierman
Valued Contributor I
360 Views

Hello,

For Intel graphics devices, Intel GPA gets the timing information from the graphics device (through the graphics driver).

Regards,

Neal

0 Kudos
Neal_Pierman
Valued Contributor I
360 Views

Hello,

I sent you a private message with some additional details. If you need a follow-up to this, please don't hesitate to contact me for additional info.

Regards,

Neal

0 Kudos
Yeoh_Benedict_Y_
Beginner
360 Views

Hi Neal, could you please post your reply to the OP here? I too am interested in how GPA gets the GPU timings, especially for non-Intel GPUs (like Nvidia).  For example, does Intel GPA automatically insert performance queries before/after each draw/dispatch call?

I'm asking because in the course of using the profiler, I've noticed that the timings don't quite match up.

0 Kudos
Neal_Pierman
Valued Contributor I
360 Views

Hello,

Here's some info that may answer your question from online help:

To compute an individual erg time, the Intel GPA Frame Analyzer brackets each erg with timing markers, while groups (such as render target regions) are calculated as a single unit so the hardware utilization more closely resembles the expected workload. Therefore, it is rare for the sum of the individual erg timings to match the total region time. Examining a frame you should use:

  •     the region times to judge how much difference a change will make in the overall frame time
  •     the individual erg timings to isolate which ergs are the most expensive and therefore which have the most to gain from optimization.

Hope this helps. If not, please provide more information about your specific configuration -- right-click on the Intel GPA Monitor and copy the "about..." info here, as well as some more details about the problem you are encountering.

Regards,

Neal

 

0 Kudos
Reply