Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Display only "Graphics and Graphics Driver." from the memory list

Discussion in 'Profiler Previews' started by Tetsuya_OYA, Feb 1, 2022.

  1. Tetsuya_OYA

    Tetsuya_OYA

    Joined:
    Jul 20, 2013
    Posts:
    13
    Hello.
    I would like to know the details of the memory of "Graphics & Graphics Driver".
    (The part surrounded by red in the attached image.)

    Is it possible to filter
    only the applicable items from the memory list at the bottom of the screen?
    Memory_Profiler_0201.png
     
    Last edited: Feb 2, 2022
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,517
    Hello,
    The numbers for these main categories come from the same backend as the simple memory Profiler Module uses + Virtual Machine and Executable & DLLs numbers taken from the capture data. I.e. for the most part, they are numbers, reported as is, and not calculated from the snapshot data.

    As for the Graphics & Graphics Driver one, that's GPU memory reported from the Graphics API handling Subsystem. Beyond that number, the snapshot data currently does not contain any information how much of a graphics assets memory reside on GPU or CPU memory, and there would also be native buffers that wouldn't be mixed in with the Tree Map and "*Objects" tables.

    The current table filtering logic also doesn't have any concept of an OR connection between filter blocks. Beyond the 0.5 update we'll release, very probably today, we won't add anything new to these tables but build new ones that allow us to tackle such things and a whole host of other UX improvements easier going forward.

    Work for getting GPU vs CPU data reproted per Asset/allocations is also under way so, we'll get that sorted but it's gonna take a moment. And lastly, the categories in the bars might change as we get closer to having the full data.
     
    Last edited: Feb 3, 2022
    JesOb, codestage and Tetsuya_OYA like this.