SimGrid
3.21
Versatile Simulation of Distributed Systems
|
#include "simgrid/plugins/energy.h"
#include "simgrid/s4u/Engine.hpp"
#include "src/surf/network_interface.hpp"
#include "src/surf/surf_interface.hpp"
#include "surf/surf.hpp"
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
Classes | |
class | simgrid::plugin::LinkEnergy |
Namespaces | |
simgrid | |
simgrid::plugin | |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (link_energy, surf, "Logging specific to the SURF LinkEnergy plugin") | |
static void | on_communicate (simgrid::kernel::resource::NetworkAction *action, simgrid::s4u::Host *, simgrid::s4u::Host *) |
static void | on_simulation_end () |
int | sg_link_energy_is_inited () |
void | sg_link_energy_plugin_init () |
Enable energy plugin. More... | |
double | sg_link_get_consumed_energy (sg_link_t link) |
Returns the total energy consumed by the link so far (in Joules) More... | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | link_energy | , |
surf | , | ||
"Logging specific to the SURF LinkEnergy plugin" | |||
) |
|
static |
|
static |
int sg_link_energy_is_inited | ( | ) |