Function: stop
Applicable Products
- Ascend 950PR&950DT products: Supported
- Atlas A3 products: Supported
- Atlas A2 products: Supported
- Atlas 200I/500 A2 inference products: Supported
- Atlas inference products: Supported
- Atlas training products: Supported
Function
Stops profile data collection.
Prototype
-
C Prototype
aclError aclprofStop(const aclprofConfig *profilerConfig) -
Python Function
ret = acl.prof.stop(profiler_config)
Parameters
| Parameter | Description |
|---|---|
| profiler_config | Int, pointer address for stopping Profiling. The value must be the same as the data of the aclprofConfig type in the acl.prof.start call. |
Return Values
| Return Value | Description |
|---|---|
| ret | Int, error code.0: successIf other values are returned, the operation fails. |
Constraints
This API is used in pair with acl.prof.start. Call acl.prof.start before acl.prof.stop.