X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2f2ce19fcb66a634c19de8dda2dc4b4896203537..e0d3b66cb9e29820cb06538de0c803f58e942794:/src/surf/surf.hpp diff --git a/src/surf/surf.hpp b/src/surf/surf.hpp index 770c293689..8f4d918410 100644 --- a/src/surf/surf.hpp +++ b/src/surf/surf.hpp @@ -205,16 +205,18 @@ private: class ResourceLmm: virtual public Resource { public: - ResourceLmm() { p_power.event = NULL; }; - ResourceLmm(surf_model_t model, const char *name, xbt_dict_t props, - lmm_system_t system, - double constraint_value, - tmgr_history_t history, - e_surf_resource_state_t state_init, - tmgr_trace_t state_trace, - double metric_peak, - tmgr_trace_t metric_trace); - ~ResourceLmm() {}; + ResourceLmm() : p_constraint(NULL) { + p_power.event = NULL; + }; + ResourceLmm(lmm_system_t system, + double constraint_value, + tmgr_history_t history, + e_surf_resource_state_t state_init, + tmgr_trace_t state_trace, + double metric_peak, + tmgr_trace_t metric_trace); + ~ResourceLmm() { + }; lmm_constraint_t p_constraint; tmgr_trace_event_t p_stateEvent; s_surf_metric_t p_power; @@ -276,7 +278,6 @@ protected: int m_refcount; #ifdef HAVE_TRACING #endif - e_UM_t p_updateMechanism; private: int resourceUsed(void *resource_id);