X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/902f44b9e3ebc4440e3dd623c2683a65cf418b75..b84501682d66c13a30f3861055e2318d12d2ca60:/src/surf/plugins/host_energy.cpp diff --git a/src/surf/plugins/host_energy.cpp b/src/surf/plugins/host_energy.cpp index 8aa4cc0478..310bd66fa4 100644 --- a/src/surf/plugins/host_energy.cpp +++ b/src/surf/plugins/host_energy.cpp @@ -308,6 +308,8 @@ static void onHostDestruction(simgrid::s4u::Host& host) } /* **************************** Public interface *************************** */ +SG_BEGIN_DECL() + /** \ingroup SURF_plugin_energy * \brief Enable host energy plugin * \details Enable energy plugin to get joules consumption of each cpu. Call this function before #MSG_init(). @@ -351,3 +353,5 @@ double sg_host_get_wattmax_at(sg_host_t host, int pstate) "The Energy plugin is not active. Please call sg_energy_plugin_init() during initialization."); return host->extension()->getWattMaxAt(pstate); } + +SG_END_DECL()