Function: init

C Prototype

aclError aclprofInit(const char *profilerResultPath, size_t length)

Python Function

ret = acl.prof.init(profiler_result_path)

Function Usage

Initializes profiling and sets the path for saving profile data files.

Input Description

profiler_result_path: str, an absolute path for saving profile data files.

Return Value

ret: int, error code.

Reference

For the API call example, see Profile Data Collection.