Typedef TRITONSERVER_InferenceTraceActivityFn_t

Typedef Documentation

typedef void (*TRITONSERVER_InferenceTraceActivityFn_t)(TRITONSERVER_InferenceTrace *trace, TRITONSERVER_InferenceTraceActivity activity, uint64_t timestamp_ns, void *userp)

Type for trace activity callback function.

This callback function is used to report activity occurring for a trace. This function does not take ownership of ‘trace’ and so any information needed from that object must be copied before returning. The ‘userp’ data is the same as what is supplied in the call to TRITONSERVER_InferenceTraceNew.