Function GenieNodeConfig_bindProfiler

Function Documentation

Genie_Status_t GenieNodeConfig_bindProfiler(const GenieNodeConfig_Handle_t configHandle, const GenieProfile_Handle_t profileHandle)

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