X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6c1fdfa949304917158331410c2e91b0ca1b2e90..72d32c4e88a57f4786f62fec48a1bfa454adbff9:/src/surf/host_clm03.hpp diff --git a/src/surf/host_clm03.hpp b/src/surf/host_clm03.hpp index d1be826d76..e972cb7af3 100644 --- a/src/surf/host_clm03.hpp +++ b/src/surf/host_clm03.hpp @@ -1,29 +1,28 @@ -/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/surf/HostImpl.hpp" -#ifndef SURF_HOST_CLM03_HPP_ -#define SURF_HOST_CLM03_HPP_ +#ifndef HOST_CLM03_HPP_ +#define HOST_CLM03_HPP_ /*********** * Classes * ***********/ -namespace simgrid { -namespace surf { +namespace simgrid::kernel::resource { class XBT_PRIVATE HostCLM03Model : public HostModel { public: using HostModel::HostModel; double next_occurring_event(double now) override; void update_actions_state(double now, double delta) override; - kernel::resource::Action* execute_parallel(const std::vector& host_list, const double* flops_amount, - const double* bytes_amount, double rate) override; + Action* execute_thread(const s4u::Host* host, double flops_amount, int thread_count) override; + Action* execute_parallel(const std::vector& host_list, const double* flops_amount, + const double* bytes_amount, double rate) override; }; -} -} +} // namespace simgrid::kernel::resource -#endif /* SURF_HOST_CLM03_HPP_ */ +#endif /* HOST_CLM03_HPP_ */