X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/efdf331fec43d7ce02cc61f2ad6d3c7e900b3e24..c2791a779fbd1de095a0634afaddaafd203dff02:/src/kernel/model/Resource.hpp diff --git a/src/kernel/model/Resource.hpp b/src/kernel/model/Resource.hpp index 153325e405..b34bcc0759 100644 --- a/src/kernel/model/Resource.hpp +++ b/src/kernel/model/Resource.hpp @@ -74,6 +74,12 @@ public: /* LMM */ protected: const kernel::lmm::Constraint* constraint_ = nullptr; + + struct Metric { + double peak; /**< The peak of the metric, ie its max value */ + double scale; /**< Current availability of the metric according to the traces, in [0,1] */ + tmgr_trace_event_t event; /**< The associated trace event associated to the metric */ + }; }; } // namespace model } // namespace kernel