Marks an instantaneous event by msproftx. This API is synchronous.
After this API is called, the Profiling tool automatically adds the current timestamp to the stamp pointer and sets the event type to Mark, indicating that an msproftx profiling process starts.
This API must be called between aclprofCreateStamp and aclprofDestroyStamp.
aclError aclprofMark(void *stamp)
Parameter |
Input/Output |
Description |
|---|---|---|
stamp |
Input |
Stamp pointer, indicating an msproftx event stamp. This API is used to specify the pointer to aclprofCreateStamp. |
0 on success; else, failure.
For the API call example, see Profile Data Collection.