host->setPstate(3);
XBT_INFO("Actually start the host");
- host->turnOn();
+ host->turn_on();
XBT_INFO("Wait 150s to simulate the boot time.");
simgrid::s4u::this_actor::sleep_for(150);
host->setPstate(previous_pstate);
XBT_INFO("Actually shutdown the host");
- host->turnOff();
+ host->turn_off();
}
static int monitor()