-ActionPtr HostCLM03Model::communicate(HostPtr src, HostPtr dst, double size, double rate){
- return surf_network_model->communicate(src->p_netElm, dst->p_netElm, size, rate);
-}
-
-
-
-/************
- * Resource *
- ************/
-HostCLM03::HostCLM03(HostModelPtr model, const char* name, xbt_dict_t properties, xbt_dynar_t storage, RoutingEdgePtr netElm, CpuPtr cpu)
- : Host(model, name, properties, storage, netElm, cpu) {}
-
-bool HostCLM03::isUsed(){
- THROW_IMPOSSIBLE; /* This model does not implement parallel tasks */
- return -1;
-}
-
-void HostCLM03::updateState(tmgr_trace_event_t /*event_type*/, double /*value*/, double /*date*/){
- THROW_IMPOSSIBLE; /* This model does not implement parallel tasks */
-}
-
-ActionPtr HostCLM03::execute(double size) {
- return p_cpu->execute(size);