Function TRTSERVER_ServerSharedMemoryStatus

Function Documentation

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

Get the list of all active shared memory region on the inference server.

If there are none then the list is empty. Returned error indicates if it was able to successfully get all active shared memory regions or not.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • server: The inference server object.

  • status: Get the current shared memory region status of the inference server. The caller takes ownership of ‘status’ and must call TRTSERVER_ProtobufDelete to release the object.