---
title: aclprofStart
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/runtimeapi/aclcppdevg_03_1260.html
sourcePath: /source/zh/canncommercial/900/API/runtimeapi/aclcppdevg_03_1260.html
indexId: 40b802f7da754f142da5b9da62206ebdf4401021549f5299df755706dae0ed3a68
---
# aclprofStart

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 功能说明

下发Profiling请求，使能对应数据的采集。

用户可根据需要，在模型执行过程中按需调用aclprofStart接口，Profiling采集到的数据为调用该接口之后的数据。


#### 函数原型

```
aclError aclprofStart(const aclprofConfig *profilerConfig)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| profilerConfig | 输入 | 指定Profiling配置数据。类型定义请参见aclprofConfig。 需提前调用aclprofCreateConfig接口创建aclprofConfig类型的数据。 |


#### 返回值说明

返回0表示成功，返回其他值表示失败，请参见aclError。


#### 约束说明

与aclprofStop接口配对使用，先调用aclprofStart接口再调用aclprofStop接口。
