函数:stop
产品支持情况
- Ascend 950PR&950DT系列产品:支持
- Atlas A3系列产品:支持
- Atlas A2系列产品:支持
- Atlas 200I/500 A2推理产品:支持
- Atlas推理系列产品:支持
- Atlas训练系列产品:支持
功能说明
停止Profiling数据采集。
函数原型
-
C函数原型
aclError aclprofStop(const aclprofConfig *profilerConfig) -
python函数
ret = acl.prof.stop(profiler_config)
参数说明
| 参数名 | 说明 |
|---|---|
| profiler_config | int,指定停止Profiling数据采集的配置的指针地址。 与acl.prof.start接口中的aclprofConfig类型数据保持一致。 |
返回值说明
| 返回值 | 说明 |
|---|---|
| ret | int,错误码。 返回0表示成功。 返回其它值表示失败。 |
约束说明
与acl.prof.start接口配对使用,先调用acl.prof.start接口再调用acl.prof.stop接口。