Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question How could I get the entire cpu usage?

Discussion in 'Profiler Previews' started by MaxHerrmann, Jun 4, 2023.

  1. MaxHerrmann

    MaxHerrmann

    Joined:
    Mar 11, 2020
    Posts:
    34
    It's probably a dumb question but how could I get the entire cpu usage?
    What I've been able to find seams to be some sub categories but never the whole thing.

    Am I supposed to add them all up?
    Is the Profiler not made for this?
    Am I talking complete nonsense and it's really obvious?

    No matter which one it is,
    Thanks in advance! :)
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,058
    Adding up the different segments shows the full CPU usage (in frametime, not %)
    Is that what you mean?
     
    MaxHerrmann likes this.
  3. MaxHerrmann

    MaxHerrmann

    Joined:
    Mar 11, 2020
    Posts:
    34
    That's probably even better, so adding them up is the way to go?
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,058
    That's the total CPU time spent on code yeah
     
    MaxHerrmann likes this.
  5. MaxHerrmann

    MaxHerrmann

    Joined:
    Mar 11, 2020
    Posts:
    34
    Great, thank you!