Function: init
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Initializes profiling and sets the path for saving profile data files.
Prototype
- C Prototype
1aclError aclprofInit(const char *profilerResultPath, size_t length)
- Python Function
1ret = acl.prof.init(profiler_result_path)
Parameters
Parameter |
Description |
|---|---|
profiler_result_path |
Str, an absolute path for saving profile data files. |
Return Value
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Restrictions
Use this API together with the acl.prof.finalize API. Call acl.prof.init first and then acl.prof.finalize.
Parent topic: Profiling Data Collection APIs