AX library provides an API to get profiling information for audio processing. The profiling information is collected per frame. The user can instruct the AX library to accumulate and store the profiles into a structure that the user provides. The audio processing pipeline and the various points where the profiling information is collected are shown in the following diagram.
Users may use the profiling information to tweak their code and/or to make decisions on load balancing on the fly. For more information, see
void AXInitProfile (AXPROFILE *profile, u32 maxProfiles); u32 AXGetSwapProfile (AXPROFILE *profile, u32 maxProfiles);
The following demos illustrate performance profiling of AX:
($CAFE_ROOT)/system/src/demo/ax/ seqdemo/ spdemo/
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2011/02/21 Initial version.