Function psyiage_profile_code_begin

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 instance

  • funcname: - Name of the function that contains the code block

  • filename: - File name that contains the code block

  • lineno: - Line number in the file that contains the code block