Function TRTSERVER_TraceManagerNew¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_TraceManagerNew(TRTSERVER_TraceManager **trace_manager, TRTSERVER_TraceManagerCreateTraceFn_t create_fn, TRTSERVER_TraceManagerReleaseTraceFn_t release_fn, void *userp)¶ Create a new trace manager object.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
trace_manager: Returns the new trace manager object.create_fn: The function to call to create trace object for a request.release_fn: The function to call when the request associated with a trace object is complete.userp: User-provided pointer that is delivered to the trace creation and release function.