aclprofPop
Description
Records the end time of the time span by msproftx when an event occurs.
After this API is called, the Profiling tool automatically records the end timestamp in the stamp pointer.
Restrictions
- This API must be used in pair with aclprofPush to indicate the start and end time of a time span.
- This API must be called between aclprofCreateStamp and aclprofDestroyStamp.
- Cross-thread calls are not supported. If cross-thread calls are required, use the aclprofRangeStart/aclprofRangeStop APIs.
Prototype
aclError aclprofPop()
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Profiling AscendCL API for Extension