X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e5e8d36b6983bd96ff5a1291cd06105273060c4b..6ed785970bbb0b94322103726f147dbea26ea48c:/src/surf/host_clm03.hpp diff --git a/src/surf/host_clm03.hpp b/src/surf/host_clm03.hpp index ef4ec1c51b..53771aa346 100644 --- a/src/surf/host_clm03.hpp +++ b/src/surf/host_clm03.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2015. The SimGrid Team. +/* Copyright (c) 2013-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,10 +6,10 @@ #include -#include "storage_interface.hpp" +#include "StorageImpl.hpp" #include "cpu_interface.hpp" -#include "host_interface.hpp" #include "network_interface.hpp" +#include "src/surf/HostImpl.hpp" #ifndef SURF_HOST_CLM03_HPP_ #define SURF_HOST_CLM03_HPP_ @@ -29,20 +29,9 @@ class XBT_PRIVATE HostCLM03Model; class HostCLM03Model : public HostModel { public: - HostCLM03Model(): HostModel(){} - ~HostCLM03Model() {} - Host *createHost(const char *name, RoutingEdge *netElm, Cpu *cpu, xbt_dict_t props) override; - double shareResources(double now) override; - - void updateActionsState(double now, double delta) override; - - Action *executeParallelTask(int host_nb, - sg_host_t *host_list, - double *flops_amount, - double *bytes_amount, - double rate) override; + double next_occuring_event(double now) override; + void update_actions_state(double now, double delta) override; }; - } }