Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jdyyx
Beginner
69 Views

how could GPA know the cost of each draw call?

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
69 Views

Hello,

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

Regards,

Neal

Neal_Pierman
Valued Contributor I
69 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

Yeoh_Benedict_Y_
Beginner
69 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.

Neal_Pierman
Valued Contributor I
69 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

 

Reply