函数:mark
产品支持情况
产品 |
是否支持 |
---|---|
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
msproftx标记瞬时事件。
调用此接口后,Profiling自动在Stamp中加上当前时间戳,将Event type设置为Mark,表示开始一次msproftx采集。
函数原型
- C函数原型
1
aclError aclprofMark(void *stamp)
- python函数
1
ret = acl.prof.mark(stamp)
参数说明
参数名 |
说明 |
---|---|
stamp |
int,Stamp指针地址,指代msproftx事件标记。指定函数:create_stamp接口的指针地址。 |
返回值说明
返回值 |
说明 |
---|---|
ret |
int,错误码。
|
约束说明
在函数:create_stamp接口和函数:destroy_stamp接口之间调用。
父主题: msproftx扩展接口