Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / src / surf / host_clm03.hpp
1 /* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "src/surf/HostImpl.hpp"
7
8 #ifndef HOST_CLM03_HPP_
9 #define HOST_CLM03_HPP_
10
11 /***********
12  * Classes *
13  ***********/
14
15 namespace simgrid {
16 namespace kernel {
17 namespace resource {
18
19 class XBT_PRIVATE HostCLM03Model : public HostModel {
20 public:
21   using HostModel::HostModel;
22   double next_occurring_event(double now) override;
23   void update_actions_state(double now, double delta) override;
24   Action* execute_parallel(const std::vector<s4u::Host*>& host_list, const double* flops_amount,
25                            const double* bytes_amount, double rate) override;
26 };
27 } // namespace resource
28 } // namespace kernel
29 } // namespace simgrid
30
31 #endif /* HOST_CLM03_HPP_ */