aclprofPush

Description

Records the start time of the time span by msproftx when an event occurs.

After this API is called, the Profiling tool automatically records the start timestamp in the stamp pointer and sets the event type to Push/Pop.

Restrictions

Prototype

aclError aclprofPush(void *stamp)

Parameters

Parameter

Input/Output

Description

stamp

Input

Stamp pointer, indicating a msproftx event stamp.

This API is used to specify the pointer to aclprofCreateStamp.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.

See Also

For the API call example, see Profile Data Collection.