x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

ProfileGPU and "stat unit" GPU Don't Match

I'm using ProfileGPU and "stat unit" for profiling, but I noticed that their GPU information doesn't seem to match. The amount of GPU time "stat unit" reports is in the 13 ms range, but when I add up the top-level timings in Profile GPU, they only add up to 6 ms. Does anyone know why that would be? It seems like they should be almost identical, but maybe I'm missing something? Thanks!

Here's a screenshot. alt text

Ignore the missing texture checkerboard; that's an unrelated bug that's already reported: https://answers.unrealengine.com/questions/179244/gpu-visualizer-window-has-a-bug.html

Product Version: Not Selected
Tags:
more ▼

asked Apr 05 '15 at 07:50 PM in Rendering

avatar image

clt2488
275 17 35 37

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

'stat unit' GPU time includes idle time on the graphics card, which happens particularly if one of the other threads is the bottleneck, like the Draw thread. There's a bug where the Draw time in 'stat unit' shows up as nearly 0 in the editor only which hides it. So I'm guessing this is the case. To investigate rendering thread performance use 'stat dumpframe -ms=.1'

The 'profilegpu' GPU time is more accurate as it effectively removes GPU idle time, so you're getting a measure of how long the GPU was busy rendering the scene.

more ▼

answered Apr 06 '15 at 05:36 PM

avatar image

DanielW STAFF
1.9k 31 11 72

avatar image clt2488 Apr 06 '15 at 05:40 PM

Ahh, I see. So you're saying that my timings in the example above are actually probably more like this?

Frame: 13.35 ms

Game: 7.15 ms

Draw: 13.34 ms

GPU: 5.73 ms

Thanks!

avatar image clt2488 Apr 06 '15 at 05:42 PM

Oh, and is there another thread where I can track the status of the stat unit Draw bug?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question