X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3715b2a421abd8357f41fb2be3c25a351f1af8cb..e36ab8605881c80995e3df732c33bd44bd4eda86:/src/surf/surf_interface.hpp diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index f9ca6dbcf5..63592b5260 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -107,27 +107,13 @@ XBT_PUBLIC_DATA(xbt_dynar_t) model_list; */ XBT_PUBLIC_CLASS Model { public: - /** - * @brief Model constructor - * - * @param name the name of the model - */ - Model(const char *name); - - /** - * @brief Model destructor - */ + /** @brief Constructor */ + Model(); + /** @brief Destructor */ virtual ~Model(); virtual void addTraces() =0; - /** - * @brief Get the name of the current Model - * - * @return The name of the current Model - */ - const char *getName() {return p_name;} - /** * @brief Get the set of [actions](@ref Action) in *ready* state * @@ -226,8 +212,6 @@ protected: xbt_heap_t p_actionHeap; private: - const char *p_name; - ActionListPtr p_readyActionSet; /**< Actions in state SURF_ACTION_READY */ ActionListPtr p_runningActionSet; /**< Actions in state SURF_ACTION_RUNNING */ ActionListPtr p_failedActionSet; /**< Actions in state SURF_ACTION_FAILED */ @@ -518,7 +502,6 @@ protected: double m_finish; /**< finish time : this is modified during the run and fluctuates until the task is completed */ private: - bool m_failed; double m_start; /**< start time */ char *p_category; /**< tracing category for categorized resource utilization monitoring */