Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add test for host on off and some fixes
[simgrid.git] / src / surf / workstation_interface.cpp
index ba424e9..a1d9d3a 100644 (file)
@@ -125,6 +125,7 @@ void Workstation::setState(e_surf_resource_state_t state){
   e_surf_resource_state_t old = Resource::getState();
   Resource::setState(state);
   surf_callback_emit(workstationStateChangedCallbacks, this, old, state);
+  p_cpu->setState(state);
 }
 
 int Workstation::getCore(){