Typedef TRTSERVER_TraceManagerReleaseTraceFn_t

Typedef Documentation

typedef void (*TRTSERVER_TraceManagerReleaseTraceFn_t)(TRTSERVER_Trace *trace, void *activity_userp, void *userp)

Type for trace release callback function.

This callback function is invoked when the model execution being traced is completed. By this point, it is the user’s responsiblity to delete ‘trace’ object created from TRTSERVER_TraceManagerCreateTraceFn_t by calling TRTSERVER_TraceDelete. The ‘activity_userp’ data is the same as ‘activity_userp’ supplied in the call to TRTSERVER_TraceNew. The ‘userp’ data is the same as ‘userp’ supplied in the call to TRTSERVER_TraceManagerNew.