Search Unity

Profiler

Discussion in 'Editor & General Support' started by arturmandas, May 21, 2015.

  1. arturmandas

    arturmandas

    Joined:
    Sep 29, 2012
    Posts:
    240
    Hello,
    I am developing a game where I has an endless level, and what I want to know is to how some usega values change over time. I want to be able to graph CPU & GPU usage per item on a time line. How to do that? Is there an ability to export profiler statistic to CSV file and then, for instance, use them to make an Excel graph? What is the workflow here?
     
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    MartinTilo likes this.
  3. arturmandas

    arturmandas

    Joined:
    Sep 29, 2012
    Posts:
    240
    Thank you! This is what I was looking for! Is the dump file structured so that I can feed the data right into, let's say, a spreadsheet editor?
     
  4. Grandtrine

    Grandtrine

    Joined:
    Jul 27, 2018
    Posts:
    10
  5. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,451
    You can load it into the Profiler window via UnityEditorInternal.ProfilerDriver.Load or via UI and you can the pull it into Profile Analyzer to export it to CSV.