函数:set_stamp_trace_message
产品支持情况
产品 |
是否支持 |
---|---|
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
为msproftx事件标记携带字符串描述,在Profiling解析并导出结果中msprof_tx summary数据展示。
函数原型
- C函数原型
1
aclError aclprofSetStampTraceMessage(void *stamp, const char *msg, uint32_t msgLen)
- python函数
1
ret = acl.prof.set_stamp_trace_message(stamp, msg, msg_len)
参数说明
参数名 |
说明 |
---|---|
stamp |
int,Stamp指针地址,指代msproftx事件标记。指定函数:create_stamp接口的指针地址。 |
msg |
int,字符串内容地址。 |
msg_len |
int,字符串长度。 |
返回值说明
返回值 |
说明 |
---|---|
ret |
int,错误码。
|
约束说明
在函数:create_stamp接口和函数:destroy_stamp接口之间调用。
父主题: msproftx扩展接口