Function: init
Applicable Products
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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 Values
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Restrictions
acl.prof.finalize must be used in pair with and be called after aclprofInit.
Parent topic: Profiling Data Collection APIs