Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    30
    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:
    4,881
    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:
    30
    That's probably even better, so adding them up is the way to go?
     
  4. DevDunk

    DevDunk

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

    MaxHerrmann

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