aclprofSetStampTraceMessage

Description

Sets string description in an msproftx event stamp, which is parsed and exported in the msprof_tx summary data of the Profiling tool. This API is synchronous.

For details about how to parse and export profiling results, see "Profile Data Description > msproftx Data Description" in Profiling Instructions.

Instructions

This API must be called between aclprofCreateStamp and aclprofDestroyStamp.

Prototype

aclError aclprofSetStampTraceMessage(void *stamp, const char *msg, uint32_t msgLen)

Parameters

Parameter

Input/Output

Description

stamp

Input

Stamp pointer, indicating an msproftx event stamp.

This API is used to specify the pointer to aclprofCreateStamp.

msg

Input

String content.

msgLen

Input

String length.

Returns

0 on success; else, failure.

See Also

For the API call example, see Profile Data Collection.