Function GenieEngineConfig_bindProfiler

Function Documentation

Genie_Status_t GenieEngineConfig_bindProfiler(const GenieEngineConfig_Handle_t configHandle, const GenieProfile_Handle_t profileHandle)

A function to bind a profile handle to engine config. The profile handle will also be bound to any engine handle created from this engine 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.

Note

Engine configs do not support binding to trace-enabled profile handles.