函数:init
产品支持情况
产品 |
是否支持 |
---|---|
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
初始化Profiling,目前用于设置保存性能数据的文件的路径。
函数原型
- C函数原型
1
aclError aclprofInit(const char *profilerResultPath, size_t length)
- python函数
1
ret = acl.prof.init(profiler_result_path)
参数说明
参数名 |
说明 |
---|---|
profiler_result_path |
str,指定保存性能数据的文件的路径,此路径为绝对路径。 |
返回值说明
返回值 |
说明 |
---|---|
ret |
int,错误码。
|
父主题: Profiling数据采集接口