Performance
CPU Markers
There are several CPU trace events in the HDR plugin to help assess CPU performance costs. They are as follows:
Marker Name | Work | Thread |
---|---|---|
FSweejHDRSourceDataOverride_GetSourceDataOverrides | Applying the results of HDR calculations to distance attenuation | Audio Thread |
FSweejHDRSourceEffect_ProcessAudio | Metering of sounds' peak amplitudes in a source effect (expect many short calls) | Audio Render Thread |
USweejHDRSystem_Update | Amalgamating metered values and performing HDR system calculations for the whole system, then for each HDR sound individually | Audio Thread |
USweejHDRSystem_OnNotifyAddActiveSound | Detecting whether new sounds are HDR enabled and creating a source effect instance for those sounds | Audio Thread |