Function psyiage_profile_code_begin¶
Defined in File psyiagesdk.h
Function Documentation¶
-
FUTURE_PSYIAGE_API int
psyiage_profile_code_begin(psyiage_handle handle, const char *funcname, const char *filename, unsigned int lineno)¶ Mark the beginning of a code block to profile.
Set the start marker for the code block to measure performance metrics (eg. CPU/memory)
- Note
Not yet implemented
- Return
If successful, PSYIAGE_ERROR_SUCCESS. Otherwise, a non-zero error code
- Parameters
handle: - A handle to the psyiage instancefuncname: - Name of the function that contains the code blockfilename: - File name that contains the code blocklineno: - Line number in the file that contains the code block