Typedef TRTSERVER_TraceManagerCreateTraceFn_t

Typedef Documentation

typedef void (*TRTSERVER_TraceManagerCreateTraceFn_t)(TRTSERVER_Trace **trace, const char *model_name, int64_t version, void *userp)

TRTSERVER_TraceManager.

Object representing a manager for initiating traces.Type for trace creation callback function. This callback function is used when a model execution is initiated within the request, if the request is to be traced. The user should call TRTSERVER_TraceNew and return the new trace object if the user decides to trace the model execution. Otherwise, the user should set ‘trace’ == nullptr. The ‘userp’ data is the same as ‘userp’ supplied in the call to TRTSERVER_TraceManagerNew.