Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
CpuCas01: set updateAlgo as initializer
[simgrid.git] / src / surf / cpu_interface.hpp
index 375c1d7..72a99af 100644 (file)
@@ -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
    *