Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
inline 4 more VM simcalls
[simgrid.git] / src / plugins / vm / s4u_VirtualMachine.cpp
index 52fcf02..ba9c167 100644 (file)
@@ -64,6 +64,10 @@ bool VirtualMachine::isMigrating()
 {
   return pimpl_vm_->isMigrating;
 }
+double VirtualMachine::getRamsize()
+{
+  return pimpl_vm_->params_.ramsize;
+}
 
 /** @brief Retrieve a copy of the parameters of that VM/PM
  *  @details The ramsize and overcommit fields are used on the PM too */