Defined in File trtserver.h
TRTSERVER_TraceParentId(TRTSERVER_Trace *trace, int64_t *parent_id)¶
Get the parent id of the trace object.
The parent id will be set if the trace object is created from within another traced request, and the parent id will be set to the id of the trace object associated with that traced request. This method is only guaranteed to correctly return the ‘parent_id’ in the invocation of TRTSERVER_TraceManagerReleaseTraceFn_t
a TRTSERVER_Error indicating success or failure.
trace: The trace object.
parent_id: Returns the parent id of the trace object. -1 indicates that the trace object has no parent.