-HostLoad::HostLoad(simgrid::s4u::Host* ptr)
- : host(ptr)
- , last_updated(surf_get_clock())
- , last_reset(surf_get_clock())
- , current_speed(host->getSpeed())
- , current_flops(host->pimpl_cpu->get_constraint()->get_usage())
- , theor_max_flops(0)
- , was_prev_idle(current_flops == 0)
-{
-}
-
-HostLoad::~HostLoad() = default;
-