Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Creates the data of the aclprofSubscribeConfig type for subscription configuration.
To destroy data of the aclprofSubscribeConfig type, call acl.prof.destroy_subscribe_config.
1 | aclprofSubscribeConfig *aclprofCreateSubscribeConfig(int8_t timeInfoSwitch, aclprofAicoreMetrics aicoreMetrics, void *fd) |
1 | subscribe_config = acl.prof.create_subscribe_config(time_info_switch, aicore_metrics, fd) |
Parameter |
Description |
|---|---|
time_info_switch |
Int, whether to enable operator profiling in the model.
|
aicore_metrics |
Int, AI Core performance metrics. For details, see aclprofAicoreMetrics. NOTE:
This API traces operator call duration only and does not support profiling of AI Core metrics. |
fd |
Int, write file descriptor of the pipe created by the user. After acl.prof.model_unsubscribe is called, the system closes the pipeline write file descriptor of the model after data is sent. |
Return Value |
Description |
|---|---|
subscribe_config |
int.
|