aclprofPush
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Records the start time of the time span by msproftx when an event occurs.
After this API is called, the Profiling tool automatically records the start timestamp in the stamp pointer and sets the event type to Push/Pop.
Prototype
aclError aclprofPush(void *stamp)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stamp |
Input |
Stamp pointer, indicating a msproftx event stamp. This API is used to specify the pointer to aclprofCreateStamp. |
Returns
0 on success; else, failure. For details, see aclError.
Restrictions
- This API must be used in pair with aclprofPop 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. You can use the aclprofRangeStart and aclprofRangeStop pair as an alternative.
Parent topic: msproftx Extended APIs