AXPROFILE

Syntax

#include <cafe/ax.h>
    
typedef struct _AXPROFILE{

    OSTime  axFrameStart;
    OSTime  axFrameEnd;
    OSTime  userAuxProcStart;
    OSTime  userAuxProcEnd;
    OSTime  userCallbackStart;
    OSTime  userCallbackEnd;
    OSTime  userFinalMixStart;
    OSTime  userFinalMixEnd;

    u32     axNumVoices;
    u32     axNumDspVoices;
    
    OSTime  axDSPStart;
    OSTime  axDSPEnd;
    OSTime  axPPCStart;
    OSTime  axPPCEnd;
    OSTime  axPPCPostStart;
    OSTime  axPPCPostEnd;
    OSTime  istLatency;
    OSTime  istPostLatency;
    
} AXPROFILE;

Elements

axFrameStart Start time of a full Renderer cycle.
axFrameEnd End time of a full Renderer cycle.
userAuxProcStart Time when Aux callback processing starts.
userAuxProcEnd Time when Aux callback processing ends.
userCallbackStart Time when User Frame callback is called.
userCallbackEnd Time when User Frame callback returns.
userFinalMixStart Time when User final mix processing starts.
userFinalMixEnd Time when User final mix callback returns.
axNumVoices Total voices running this cycle.
axNumDspVoices Number of them that were processed by the DSP Renderer.
axDSPStart Time when the DSP started processing the frame.
axDSPEnd Time when the DSP ended processing the frame.
axPPCStart Time when the PPC started processing the voices.
axPPCEnd Time when the PPC completed processing the voices.
axPPCPostStart Time when the PPC started processing its Aux and Output busses.
axPPCPostEnd Time when the PPC completed processing its Aux and Output busses.
istLatency Not supported yet.
istPostLatency Not supported yet.

Description

This structure is used for configuring the AX library and providing profiling information for audio processing.

See Also

AX Profiling
AXGetProfile
AXGetSwapProfile
AXInitProfile

Revision History

2015-02-27 Initial topic creation.


CONFIDENTIAL