aclprofMark
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Marks an instantaneous event by msproftx.
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 a msproftx profiling process starts.
Prototype
1 | aclError aclprofMark(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 called between aclprofCreateStamp and aclprofDestroyStamp.
Parent topic: msproftx Extension APIs