AXInitProfile() to initialize runtime profiling of AX and its child callbacks.
AXGetProfile() periodically, to retrieve all profiles recorded by AX since the last call to AXGetProfile().
#include <revolution.h> ... // Initialize AX #define MAX_PROFILES 256 AXPROFILE profile[MAX_PROFILES]; AXInitProfile(&profile, MAX_PROFILES); ... // somewhere in the game loop int i; i = AXGetProfile(); // retrieve all profiles since last call to AXGetProfile() while (i) { // look at profile[i] i--; }
2006/03/01 Initial version.
CONFIDENTIAL