Function TRTSERVER_ServerStatus

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerStatus(TRTSERVER_Server *server, TRTSERVER_Protobuf **status)

Get the current server status for all models as a TRTSERVER_Protobuf object.

The caller takes ownership of the object and must call TRTSERVER_ProtobufDelete to release the object.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • server: The inference server object.

  • status: Returns the server status protobuf.