aclgrphProfStart

Description

Starts profile data collection.

Prototype

Status aclgrphProfStart(aclgrphProfConfig *profiler_config);

Parameters

Parameter

Input/Output

Description

profiler_config

Input

Pointer to a struct for a Profiling configuration.

Returns

Parameter

Type

Description

-

Status

SUCCESS: success.

Other values: failure.

Restrictions

  • This API should be called before the RunGraph call. If it is called during model execution, the profile data after the aclgrphProfStart call is collected. As a result, the data may be incomplete.
  • aclgrphProfStart must be used in pair with and be called before aclgrphProfStop.