Function TRTSERVER_ServerModelStatus¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerModelStatus(TRTSERVER_Server *server, const char *model_name, TRTSERVER_Protobuf **status)¶ Get the current server status for a single model 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.model_name: The name of the model to get status for.status: Returns the server status protobuf.