---
title: aclgrphProfDestroyConfig
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0129.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0129.html
indexId: 7d36f5a0d27030444beffdb7d6042134af8527eee0ecb628387d33352aa0475372
---
# aclgrphProfDestroyConfig

#### 产品支持情况

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


#### 头文件/库文件

- 头文件：#include <ge/ge_prof.h>
- 库文件：libmsprofiler.so


#### 功能说明

销毁Profiling配置信息。


#### 函数原型

```
Status aclgrphProfDestroyConfig(aclgrphProfConfig *profiler_config)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| profiler\_config | 输入 | Profiling配置信息结构指针。 |


#### 返回值说明

| 参数名 | 类型 | 说明 |
| --- | --- | --- |
| \- | Status | SUCCESS：成功。 其他：失败。 |


#### 约束说明

- 与  aclgrphProfCreateConfig
接口配对使用，先调用aclgrphProfCreateConfig接口再调用aclgrphProfDestroyConfig接口。
- 需要销毁的Profiling配置信息必须是由aclgrphProfCreateConfig创建。
- 销毁Profiling配置信息失败，请检查配置信息参数是否合理。
