X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d57ca811234dbffc0e041914391e0fe47c2d3ae..16bbb8a8212497d9c44c81333ed2c0e689e0c5af:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index 9c46c462a6..d4d305a6b5 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -55,7 +55,7 @@ class CpuTiTgmr { public: CpuTiTgmr(trace_type type, double value) : m_type(type), m_value(value) - {}; + {}; CpuTiTgmr(tmgr_trace_t speedTrace, double value); ~CpuTiTgmr(); @@ -118,6 +118,8 @@ public: int initiallyOn, tmgr_trace_t stateTrace) ; ~CpuTi(); + void set_speed_trace(tmgr_trace_t trace); + void updateState(tmgr_trace_iterator_t event_type, double value, double date) override; void updateActionsFinishTime(double now); bool isUsed() override;