Function TRTSERVER_ServerMetrics¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerMetrics(TRTSERVER_Server *server, TRTSERVER_Metrics **metrics)¶ Get the current metrics for the server.
The caller takes ownership of the metrics object and must call TRTSERVER_MetricsDelete to release the object.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
server: The inference server object.metrics: Returns the metrics.