aclprofStart

Description

Starts profile data collection. This API is synchronous.

Call aclprofStart as required during model execution. Only profile data after the API call is collected.

Instructions

aclprofStart must be used in pair with and be called before aclprofStop.

Prototype

aclError aclprofStart(const aclprofConfig *profilerConfig)

Parameters

Parameter

Input/Output

Description

profilerConfig

Input

Profiling configuration.

Call aclprofCreateConfig to create data of the aclprofConfig type in advance.

Returns

0 on success; else, failure.

See Also

For the API call example, see Profile Data Collection.