Function TRTSERVER_TraceId

Function Documentation

TRTSERVER_Error *TRTSERVER_TraceId(TRTSERVER_Trace *trace, int64_t *id)

Get the id of the trace object.

Each trace object created during execution of the inference server has a unique id.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • trace: The trace object.

  • id: Returns the id of the trace object.