---
title: aclprofPop
description: msproftx用于记录事件发生的时间跨度的结束时间。同步接口。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgc/aclcppdevg_03_1588.html"
---

# aclprofPop

#### 函数功能

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

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


#### 约束说明

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


#### 函数原型

aclError aclprofPop()


#### 返回值说明

返回0表示成功，返回其它值表示失败。


#### 参考资源

接口调用示例，参见Profiling性能数据采集。
