A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright lines for 2022.
[simgrid.git]
/
src
/
surf
/
host_clm03.hpp
diff --git
a/src/surf/host_clm03.hpp
b/src/surf/host_clm03.hpp
index
cec2349
..
43aa5e9
100644
(file)
--- a/
src/surf/host_clm03.hpp
+++ b/
src/surf/host_clm03.hpp
@@
-1,38
+1,31
@@
-/* Copyright (c) 2013-2015. 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. */
/* 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 <xbt/base.h>
-
-#include "StorageImpl.hpp"
-#include "cpu_interface.hpp"
-#include "network_interface.hpp"
#include "src/surf/HostImpl.hpp"
#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 {
/***********
* Classes *
***********/
namespace simgrid {
-namespace surf {
-
-class XBT_PRIVATE HostCLM03Model;
-
-/*********
- * Model *
- *********/
+namespace kernel {
+namespace resource {
-class HostCLM03Model : public HostModel {
+class
XBT_PRIVATE
HostCLM03Model : public HostModel {
public:
public:
- double next_occuring_event(double now) override;
+ using HostModel::HostModel;
+ double next_occurring_event(double now) override;
void update_actions_state(double now, double delta) override;
void update_actions_state(double now, double delta) override;
+ Action* execute_parallel(const std::vector<s4u::Host*>& host_list, const double* flops_amount,
+ const double* bytes_amount, double rate) override;
};
};
-}
-}
+} // namespace resource
+} // namespace kernel
+} // namespace simgrid
-#endif /*
SURF_
HOST_CLM03_HPP_ */
+#endif /* HOST_CLM03_HPP_ */