Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[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::kernel::resource {
16
17 class XBT_PRIVATE HostCLM03Model : public HostModel {
18 public:
19   using HostModel::HostModel;
20   double next_occurring_event(double now) override;
21   void update_actions_state(double now, double delta) override;
22   Action* execute_thread(const s4u::Host* host, double flops_amount, int thread_count) override;
23   Action* execute_parallel(const std::vector<s4u::Host*>& host_list, const double* flops_amount,
24                            const double* bytes_amount, double rate) override;
25 };
26 } // namespace simgrid::kernel::resource
27
28 #endif /* HOST_CLM03_HPP_ */