Custom Activity

The first parameter, called name, is used to provide a sub instrumentation class under which basic statistics are captured. The 'Params' version of the procedures allow additional parameters to be passed. All child elements of the rParams reference will be traced.

The custom activity API functions are:

CREATE PROCEDURE BeginActivity(IN name CHAR);
CREATE PROCEDURE BeginActivityParams(IN name CHAR, IN rParams REFERENCE);
CREATE PROCEDURE Activity(IN name CHAR);
CREATE PROCEDURE ActivityParams(IN name CHAR, IN rParams REFERENCE);
CREATE PROCEDURE EndActivity(IN name CHAR);
CREATE PROCEDURE EndActivityParams(IN name CHAR, IN rParams REFERENCE);
CREATE PROCEDURE Error(IN name CHAR);
CREATE PROCEDURE ErrorParams(IN name CHAR, IN rParams REFERENCE);