Function TRITONSERVER_InferenceTraceParentId

Function Documentation

TRITONSERVER_Error *TRITONSERVER_InferenceTraceParentId(TRITONSERVER_InferenceTrace *trace, uint64_t *parent_id)

Get the parent id associated with a trace.

The parent id indicates a parent-child relationship between two traces. A parent id value of 0 indicates that there is no parent trace.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • trace: The trace.

  • id: Returns the parent id associated with the trace.