aclprofInit

Description

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

Restrictions

aclprofInit must be used in pair with and be called before aclprofFinalize.

Prototype

aclError aclprofInit(const char *profilerResultPath, size_t length)

Parameters

Parameter

Input/Output

Description

profilerResultPath

Input

An absolute path for saving profile data files.

length

Input

Length of the profilerResultPath, in bytes. The maximum length is 4096 bytes.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.

See Also

For the API call example, see Profile Data Collection.