aclprofCreateStepInfo

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

√

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Function

Creates data of the aclprofStepInfo type as step information.

Restrictions

  • Use the aclprofDestroyStepInfo API to destroy data of the aclprofStepInfo type. If data is not destroyed, the memory cannot be freed.
  • Use this API together with aclprofDestroyStepInfo. Call aclprofCreateStepInfo first and then aclprofDestroyStepInfo.

Prototype

1
aclprofStepInfo* aclprofCreateStepInfo()

Returns

  • Success: pointer to data of the aclprofStepInfo type
  • Failure: nullptr

The same tag can be configured only once for a single aclprofStepInfo object, to avoid profiling analysis errors.