Function: start
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Starts profiling.
Call acl.prof.start as required during model execution. Only profile data after the API call is collected.
Prototype
- C Prototype
1aclError aclprofStart(const aclprofConfig *profilerConfig)
- Python Function
1ret = acl.prof.start(profiler_config)
Parameter Description
|
Parameter |
Description |
|---|---|
|
profiler_config |
Int, profiling configuration. Call acl.prof.create_config to create data of the aclprofConfig type in advance. |
Return Value Description
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code.
|
Restrictions
Use this API together with the acl.prof.stop API. Call acl.prof.start first and then acl.prof.stop.