X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/965056e4f95159e78816eca6edc8982928097b73..d896265a56dbf34328e32566da1932835d840d27:/src/surf/surf_interface.hpp diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index 08d445b671..8b61329a01 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -60,7 +60,7 @@ XBT_PUBLIC(double) surf_get_clock(void); } extern double sg_sender_gap; -XBT_PUBLIC(int) SURF_CPU_LEVEL; //Surf cpu level +XBT_PUBLIC_DATA(int) SURF_CPU_LEVEL; //Surf cpu level extern surf_callback(void, void) surfExitCallbacks; @@ -404,7 +404,7 @@ public: * * @param model The Model associated to this Action * @param cost The cost of the Action - * @param failed If the action is impossible (e.g.: execute something on a switched off workstation) + * @param failed If the action is impossible (e.g.: execute something on a switched off host) */ Action(ModelPtr model, double cost, bool failed); @@ -413,7 +413,7 @@ public: * * @param model The Model associated to this Action * @param cost The cost of the Action - * @param failed If the action is impossible (e.g.: execute something on a switched off workstation) + * @param failed If the action is impossible (e.g.: execute something on a switched off host) * @param var The lmm variable associated to this Action if it is part of a LMM component */ Action(ModelPtr model, double cost, bool failed, lmm_variable_t var); @@ -594,14 +594,12 @@ public: */ virtual void setPriority(double priority); -#ifdef HAVE_TRACING /** * @brief Set the category of the current Action * * @param category The new category of the current Action */ void setCategory(const char *category); -#endif /** * @brief Get the remaining time of the current action after updating the resource