函数:start
产品支持情况
产品 |
是否支持 |
---|---|
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
函数原型
- C函数原型
1
aclError aclprofStart(const aclprofConfig *profilerConfig)
- python函数
1
ret = acl.prof.start(profiler_config)
参数说明
参数名 |
说明 |
---|---|
profiler_config |
int,指定Profiling配置数据。 需提前调用acl.prof.create_config接口创建aclprofConfig类型的数据。 |
返回值说明
返回值 |
说明 |
---|---|
ret |
int,错误码。
|
约束说明
与acl.prof.stop接口配对使用,先调用acl.prof.start接口再调用acl.prof.stop接口。
父主题: Profiling数据采集接口