Starts profile data collection. This API is synchronous.
Call aclprofStart as required during model execution. Only profile data after the API call is collected.
aclprofStart must be used in pair with and be called before aclprofStop.
aclError aclprofStart(const aclprofConfig *profilerConfig)
Parameter |
Input/Output |
Description |
|---|---|---|
profilerConfig |
Input |
Profiling configuration. Call aclprofCreateConfig to create data of the aclprofConfig type in advance. |
0 on success; else, failure.
For the API call example, see Profile Data Collection.