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

#### 产品支持情况

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


#### 功能说明

msproftx用于记录事件发生的时间跨度的结束时间。

调用此接口后，Profiling自动在Stamp指针中记录采集结束的时间戳。


#### 函数原型

```
aclError aclprofPop()
```


#### 返回值说明

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


#### 约束说明

- 与  aclprofPush
接口成对使用，表示时间跨度的开始和结束。
- 在  aclprofCreateStamp
接口和  aclprofDestroyStamp
接口之间调用。
- 不能跨线程调用。若需要跨线程可使用  aclprofRangeStart
/  aclprofRangeStop
接口。
