Function: finalize
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
Finalizes Profiling.
Prototype
-
C Prototype
aclError aclprofFinalize() -
Python Function
ret = acl.prof.finalize()
Parameters
None
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.init. Call acl.prof.init before acl.prof.finalize.