}
/* **************************** 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().
"The Energy plugin is not active. Please call sg_energy_plugin_init() during initialization.");
return host->extension<HostEnergy>()->getWattMaxAt(pstate);
}
+
+SG_END_DECL()