aclprofSetStampTraceMessage

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

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

Prototype

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

Parameters

Parameter

Input/Output

Description

stamp

Input

Stamp pointer, indicating a msproftx event stamp.

This API is used to specify the pointer to aclprofCreateStamp.

msg

Input

Pointer to the stamp information string.

msgLen

Input

String length.

Returns

0 on success; else, failure. For details, see aclError.

Restrictions

This API must be called between aclprofCreateStamp and aclprofDestroyStamp.