Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
pull up two more methods in the surf::Host hierarchy
[simgrid.git] / src / surf / host_interface.cpp
index 38676b8..2c40395 100644 (file)
@@ -146,6 +146,14 @@ void Host::setState(e_surf_resource_state_t state){
   p_cpu->setState(state);
 }
 
+Action *Host::execute(double size) {
+  return p_cpu->execute(size);
+}
+Action *Host::sleep(double duration) {
+  return p_cpu->sleep(duration);
+}
+
+
 simgrid::surf::Storage *Host::findStorageOnMountList(const char* mount)
 {
   simgrid::surf::Storage *st = NULL;