Function GeniePipelineConfig_bindProfiler

Function Documentation

Genie_Status_t GeniePipelineConfig_bindProfiler(const GeniePipelineConfig_Handle_t configHandle, const GenieProfile_Handle_t profileHandle)

A function to bind a profile handle to pipeline config. The profile handle will also be bound to any pipeline handle created from this pipeline config handle.

Parameters
  • configHandle[in] A handle to a valid config.

  • profileHandle[in] The profile handle on which metrics are populated and can be queried. Cannot be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Config handle or profile handle is invalid.