surf_callback(void, Host*, e_surf_resource_state_t, e_surf_resource_state_t) hostStateChangedCallbacks;
surf_callback(void, HostAction*, e_surf_action_state_t, e_surf_action_state_t) hostActionStateChangedCallbacks;
-void host_parse_init(sg_platf_host_cbarg_t host)
-{
- surf_host_model->createHost(host->id);
-}
-
void host_add_traces(){
surf_host_model->addTraces();
}
, p_storage(storage), p_netElm(netElm), p_cpu(cpu)
{
p_params.ramsize = 0;
- surf_callback_emit(hostCreatedCallbacks, this);
}
Host::Host(Model *model, const char *name, xbt_dict_t props, lmm_constraint_t constraint,
, p_storage(storage), p_netElm(netElm), p_cpu(cpu)
{
p_params.ramsize = 0;
- surf_callback_emit(hostCreatedCallbacks, this);
}
Host::~Host(){