SimGrid
3.16
Versatile Simulation of Distributed Systems
|
#include "simgrid/plugins/load.h"
#include "simgrid/simix.hpp"
#include "src/plugins/vm/VirtualMachineImpl.hpp"
#include "src/surf/cpu_interface.hpp"
#include "simgrid/s4u/Engine.hpp"
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <string>
#include <utility>
#include <vector>
Classes | |
class | simgrid::plugin::HostLoad |
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::plugin | |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (surf_plugin_load, surf, "Logging specific to the HostLoad plugin") | |
static void | on_host_added (simgrid::s4u::Host &host) |
static void | onHostChange (simgrid::s4u::Host &host) |
static void | onActionStateChange (simgrid::surf::CpuAction *action, simgrid::surf::Action::State previous) |
void | sg_host_load_plugin_init () |
Initializes the HostLoad plugin. More... | |
double | sg_host_get_current_load (sg_host_t host) |
Returns the current load of the host passed as argument. More... | |
double | sg_host_get_computed_flops (sg_host_t host) |
void | sg_host_load_reset (sg_host_t host) |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | surf_plugin_load | , |
surf | , | ||
"Logging specific to the HostLoad plugin" | |||
) |
|
static |
|
static |
|
static |
double sg_host_get_current_load | ( | sg_host_t | host | ) |
Returns the current load of the host passed as argument.
See also Plugin_load
double sg_host_get_computed_flops | ( | sg_host_t | host | ) |