Creates the data of the aclprofSubscribeConfig type as a subscription configuration. This API is synchronous.
To destroy data of the aclprofSubscribeConfig type, call aclprofDestroySubscribeConfig.
aclprofSubscribeConfig *aclprofCreateSubscribeConfig(int8_t timeInfoSwitch, aclprofAicoreMetrics aicoreMetrics, void *fd)
Parameter |
Input/Output |
Description |
|---|---|---|
timeInfoSwitch |
Input |
Operator profiling enable.
|
aicoreMetrics |
Input |
AI Core metric to profile.
NOTE:
This API call traces operator duration only and does not support profiling of AI Core metrics. |
fd |
Input |
Write pointer to the pipeline created by the user. After aclprofModelUnSubscribe is called, the system closes the pipeline write pointer of the model after data is sent. |