aclgrphProfStart
函数功能
下发Profiling请求,使能对应数据的采集。
函数原型
Status aclgrphProfStart(const aclgrphProfConfig *profiler_config)
参数说明
参数名 |
输入/输出 |
描述 |
---|---|---|
profiler_config |
输入 |
profiling配置信息结构指针。 |
返回值
参数名 |
类型 |
描述 |
---|---|---|
- |
Status |
SUCCESS: 成功 其他:失败 |
约束说明
- 该接口在RunGraph之前调用,若在模型执行过程中调用,Profiling采集到的数据为调用aclgrphProfStart接口之后的数据,可能导致数据不完整。
- 该接口和aclgrphProfStop配对使用,先调用aclgrphProfStart接口再调用aclgrphProfStop接口。
支持情况
Atlas 推理系列产品(Ascend 310P处理器),支持
Atlas 训练系列产品,支持
Atlas A2训练系列产品,支持
Atlas 200/300/500 推理产品,不支持
Atlas 200I/500 A2推理产品,不支持
父主题: 维测接口