Function: stop

Applicability

Product

Supported (√/x)

Atlas A3 training products / Atlas A3 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Stops profile data collection.

Prototype

  • C Prototype
    1
    aclError aclprofStop(const aclprofConfig *profilerConfig)
    
  • Python Function
    1
    ret = acl.prof.stop(profiler_config)
    

Parameter Description

Parameter

Description

profiler_config

Int, pointer address for stopping Profiling.

Must be the same as aclprofConfig passed to the acl.prof.start call.

Return Value Description

Return Value

Description

ret

Int, error code.

Restrictions

Use this API together with the acl.prof.start API. Call acl.prof.start first and then acl.prof.stop.

Reference

For the API call example, see Profile Data Collection.