Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'pikachuyann/simgrid-stoprofiles'
[simgrid.git] / src / kernel / resource / profile / Profile.hpp
index 5aa6058..71a2d8c 100644 (file)
@@ -9,6 +9,7 @@
 #include "simgrid/forward.h"
 #include "src/kernel/resource/profile/DatedValue.hpp"
 #include "src/kernel/resource/profile/FutureEvtSet.hpp"
+#include "src/kernel/resource/profile/StochasticDatedValue.hpp"
 
 #include <queue>
 #include <vector>
@@ -35,9 +36,13 @@ public:
   static Profile* from_string(const std::string& name, const std::string& input, double periodicity);
   // private:
   std::vector<DatedValue> event_list;
+  std::vector<StochasticDatedValue> stochastic_event_list;
 
 private:
-  FutureEvtSet* fes_ = nullptr;
+  FutureEvtSet* fes_  = nullptr;
+  bool stochastic     = false;
+  bool stochasticloop = false;
+  DatedValue futureDV;
 };
 
 } // namespace profile