X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/521a7a9b2e8b5472d076faa289cd58e1a60d6e34..fbc5196e44c92ef4ccda2fb737423e373c03d6f9:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 91b9b40360..6e8e71ad1c 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -163,8 +163,8 @@ public: void **p_constraintCoreId=NULL; public: - void set_state_trace(tmgr_trace_t trace); /*< setup the trace file with states events (ON or OFF) */ - void set_speed_trace(tmgr_trace_t trace); /*< setup the trace file with availability events (peak speed changes due to external load) */ + virtual void set_state_trace(tmgr_trace_t trace); /*< setup the trace file with states events (ON or OFF). Trace must contain boolean values (0 or 1). */ + virtual void set_speed_trace(tmgr_trace_t trace); /*< setup the trace file with availability events (peak speed changes due to external load). Trace must contain relative values (ratio between 0 and 1) */ tmgr_trace_iterator_t p_stateEvent = nullptr; s_surf_metric_t p_speed = {1.0, 0, nullptr};