X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13e0c316176dfe56c04b66d96b65a174e76d0549..09a63025cb84856ac04d8452e30634759a05f4d9:/src/surf/surf_interface.hpp diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index 06ae981c44..4381fa70d3 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -197,7 +197,7 @@ public: * @brief share the resources * @details Share the resources between the actions * - * @param + * @param now [TODO] * @return the date of the next action will finish */ virtual double shareResources(double now); @@ -360,15 +360,13 @@ public: */ virtual void setState(e_surf_resource_state_t state); -protected: - e_surf_resource_state_t m_stateCurrent; - private: const char *p_name; xbt_dict_t p_properties; ModelPtr p_model; void *p_resource; bool m_running; + e_surf_resource_state_t m_stateCurrent; /* LMM */ public: @@ -439,14 +437,7 @@ public: * * @param state The new state of the current Action */ - virtual void setState(e_surf_action_state_t state); /**< Change state*/ - - /** - * @brief Get the bound of the current Action - * - * @return The bound of the current Action - */ - double getBound() {return m_bound;} + virtual void setState(e_surf_action_state_t state); /** * @brief Get the start time of the current action @@ -681,7 +672,6 @@ private: ActionLmmListPtr p_modifiedSet; xbt_heap_t p_actionHeap; int m_selectiveUpdate; - double m_bound; /**< the capping of the CPU use */ bool m_failed; double m_start; /**< start time */ char *p_category; /**< tracing category for categorized resource utilization monitoring */