Search Unity

Audio Audio CPU usage for DSP plugins

Discussion in 'Audio & Video' started by andypandy47, Apr 23, 2019.

  1. andypandy47

    andypandy47

    Joined:
    Nov 3, 2016
    Posts:
    4
    Hi guys,

    I've developed a few plugins for Unity and am trying to debug exactly how much CPU is being used by them and am a bit unsure of the profiler results.

    upload_2019-4-23_18-37-50.png
    As you can see from the image the audio profiler is telling me that 55% of audio CPU is being used from DSP CPU.

    However, on the same frame, the CPU usage profiler is stating that only a minimal amount of CPU is actually being used.
    upload_2019-4-23_18-39-2.png

    Hopefully this means that very little CPU is being used by the plugins but then how come the audio profiler is stating that 55% of the audio CPU is being used? what is the total audio CPU? My only thought is that there is a very small allowance on audio CPU and that im already using up 55% of that allowance?? Im not sure but any input would be appreciated.

    Thanks
     
  2. dvalles

    dvalles

    Joined:
    Nov 15, 2014
    Posts:
    11
    Bump. I too am confused about how Audio thread affects main thread performance.