aclprofCreateStamp
Description
Creates a msproftx event stamp. When aclprofMark, aclprofSetStampTraceMessage, aclprofPush, and aclprofRangeStart are called, the stamp pointer is used as the input to record the time span of the event.
Restrictions
This API must be used in pair with aclprofDestroyStamp and after aclprofStart.
Prototype
void *aclprofCreateStamp()
Returns
- Success: pointer to data of the void type
- Failure: nullptr
Parent topic: Profiling AscendCL API for Extension