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
CpuCas01: set updateAlgo as initializer
[simgrid.git]
/
src
/
surf
/
cpu_interface.hpp
diff --git
a/src/surf/cpu_interface.hpp
b/src/surf/cpu_interface.hpp
index
375c1d7
..
72a99af
100644
(file)
--- a/
src/surf/cpu_interface.hpp
+++ b/
src/surf/cpu_interface.hpp
@@
-26,6
+26,9
@@
namespace surf {
*/
class XBT_PUBLIC CpuModel : public kernel::resource::Model {
public:
+ CpuModel(kernel::resource::Model::UpdateAlgo algo) : Model(algo) {}
+ CpuModel() : Model() {}
+
/**
* @brief Create a Cpu
*