SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include "simgrid/plugins/energy.h"
#include "xbt/log.h"
#include "simgrid/simix.h"
#include "smpi/smpi.h"
#include "src/internal_config.h"
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (smpi_dvfs, smpi,"Logging specific to SMPI (experimental DVFS support)") | |
double | smpi_get_host_power_peak_at (int pstate_index) |
Return the speed of the processor (in flop/s) at a given pstate. More... | |
double | smpi_get_host_current_power_peak (void) |
Return the current speed of the processor (in flop/s) More... | |
int | smpi_get_host_nb_pstates (void) |
Return the number of pstates defined for the current host. More... | |
void | smpi_set_host_pstate (int pstate_index) |
Sets the pstate at which the processor should run. More... | |
int | smpi_get_host_pstate () |
Gets the pstate at which the processor currently running. More... | |
double | smpi_get_host_consumed_energy (void) |
Return the total energy consumed by a host (in Joules) More... | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | smpi_dvfs | , |
smpi | , | ||
"Logging specific to SMPI (experimental DVFS support)" | |||
) |
double smpi_get_host_power_peak_at | ( | int | pstate_index | ) |
Return the speed of the processor (in flop/s) at a given pstate.
pstate_index | pstate to test |
double smpi_get_host_current_power_peak | ( | void | ) |
Return the current speed of the processor (in flop/s)
int smpi_get_host_nb_pstates | ( | void | ) |
Return the number of pstates defined for the current host.
void smpi_set_host_pstate | ( | int | pstate_index | ) |
Sets the pstate at which the processor should run.
pstate_index | pstate to switch to |
int smpi_get_host_pstate | ( | ) |
Gets the pstate at which the processor currently running.
pstate_index | pstate to switch to |
double smpi_get_host_consumed_energy | ( | void | ) |
Return the total energy consumed by a host (in Joules)