SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "simgrid/plugins/energy.h"
#include "simgrid/s4u/Engine.hpp"
#include "simgrid/simix.hpp"
#include "src/surf/network_interface.hpp"
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <map>
#include <string>
#include <utility>
#include <vector>
Classes | |
class | simgrid::plugin::LinkEnergy |
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::plugin | |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (link_energy, surf, "Logging specific to the SURF LinkEnergy plugin") | |
static void | onCommunicate (simgrid::surf::NetworkAction *action, simgrid::s4u::Host *src, simgrid::s4u::Host *dst) |
static void | onSimulationEnd () |
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 |