params_.ramsize = 0;
}
-HostImpl::HostImpl(simgrid::surf::HostModel* model, const char* name, lmm_constraint_t constraint, xbt_dynar_t storage)
- : PropertyHolder(nullptr), storage_(storage)
-{
- params_.ramsize = 0;
-}
-
/** @brief use destroy() instead of this destructor */
HostImpl::~HostImpl() = default;
*/
HostImpl(HostModel* model, const char* name, xbt_dynar_t storage);
- /**
- * @brief Host constructor
- *
- * @param model HostModel associated to this Host
- * @param name The name of the Host
- * @param constraint The lmm constraint associated to this Host if it is part of a LMM component
- * @param storage The Storage associated to this Host
- */
- HostImpl(HostModel* model, const char* name, lmm_constraint_t constraint, xbt_dynar_t storage);
-
/* Host destruction logic */
/**************************/
virtual ~HostImpl();
************/
VirtualMachine::VirtualMachine(HostModel* model, const char* name, simgrid::s4u::Host* host_PM)
- : HostImpl(model, name, nullptr /*constraint*/, nullptr /*storage*/), hostPM_(host_PM)
+ : HostImpl(model, name, nullptr /*storage*/), hostPM_(host_PM)
{
/* Register this VM to the list of all VMs */
allVms_.push_back(this);