Skip to content

Performance

CPU Markers

There are several CPU trace events in the HDR plugin to help assess CPU performance costs. They are as follows:

Marker NameWorkThread
FSweejHDRSourceDataOverride_GetSourceDataOverridesApplying the results of HDR calculations to distance attenuationAudio Thread
FSweejHDRSourceEffect_ProcessAudioMetering of sounds' peak amplitudes in a source effect (expect many short calls)Audio Render Thread
USweejHDRSystem_UpdateAmalgamating metered values and performing HDR system calculations for the whole system, then for each HDR sound individuallyAudio Thread
USweejHDRSystem_OnNotifyAddActiveSoundDetecting whether new sounds are HDR enabled and creating a source effect instance for those soundsAudio Thread