SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "surf_interface.hpp"
#include "mc/mc.h"
#include "simgrid/s4u/Engine.hpp"
#include "simgrid/sg_config.h"
#include "src/instr/instr_private.hpp"
#include "src/kernel/lmm/maxmin.hpp"
#include "src/kernel/routing/NetPoint.hpp"
#include "src/surf/HostImpl.hpp"
#include "xbt/utility.hpp"
#include <fstream>
#include <set>
#include <string>
#include <vector>
#include <simgrid/plugins/energy.h>
#include <simgrid/plugins/load.h>
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::surf | |
Macros | |
#define | FILE_DELIM "/" /* FIXME: move to better location */ |
Functions | |
XBT_LOG_NEW_CATEGORY (surf, "All SURF categories") | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (surf_kernel, surf, "Logging specific to SURF (kernel)") | |
void | surf_network_model_init_SMPI () |
Same as network model 'LagrangeVelho', only with different correction factors. More... | |
void | surf_network_model_init_IB () |
Same as network model 'LagrangeVelho', only with different correction factors. More... | |
void | surf_network_model_init_NS3 () |
Initializes the platform with the network model NS3. More... | |
double | surf_get_clock () |
Return the current time. More... | |
std::ifstream * | surf_ifsopen (std::string name) |
FILE * | surf_fopen (const char *name, const char *mode) |
int | __surf_is_absolute_file_path (const char *file_path) |
void | model_help (const char *category, s_surf_model_description_t *table) |
Displays the long description of all registered models, and quit. More... | |
int | find_model_description (s_surf_model_description_t *table, std::string name) |
void | sg_version_check (int lib_version_major, int lib_version_minor, int lib_version_patch) |
Helps ensuring that header version (SIMGRID_VERSION_MAJOR and friends) and dynamic library version do match. More... | |
void | sg_version_get (int *ver_major, int *ver_minor, int *ver_patch) |
Retrieves the version numbers of the used dynamic library (so, DLL or dynlib), while SIMGRID_VERSION_MAJOR and friends give the version numbers of the used header files. More... | |
void | sg_version () |
Display the version information and some additional blurb. More... | |
void | surf_init (int *argc, char **argv) |
Initialize SURF. More... | |
void | surf_exit () |
Exit SURF. More... | |
#define FILE_DELIM "/" /* FIXME: move to better location */ |
XBT_LOG_NEW_CATEGORY | ( | surf | , |
"All SURF categories" | |||
) |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | surf_kernel | , |
surf | , | ||
"Logging specific to SURF (kernel)" | |||
) |
std::ifstream* surf_ifsopen | ( | std::string | name | ) |
FILE* surf_fopen | ( | const char * | name, |
const char * | mode | ||
) |
int __surf_is_absolute_file_path | ( | const char * | file_path | ) |
void model_help | ( | const char * | category, |
s_surf_model_description_t * | table | ||
) |
Displays the long description of all registered models, and quit.
int find_model_description | ( | s_surf_model_description_t * | table, |
std::string | name | ||
) |
void sg_version_check | ( | int | lib_version_major, |
int | lib_version_minor, | ||
int | lib_version_patch | ||
) |
Helps ensuring that header version (SIMGRID_VERSION_MAJOR and friends) and dynamic library version do match.
void sg_version_get | ( | int * | ver_major, |
int * | ver_minor, | ||
int * | ver_patch | ||
) |
Retrieves the version numbers of the used dynamic library (so, DLL or dynlib), while SIMGRID_VERSION_MAJOR and friends give the version numbers of the used header files.
void sg_version | ( | ) |
Display the version information and some additional blurb.
simgrid::trace_mgr::future_evt_set* future_evt_set = nullptr |
std::vector<std::string> surf_path |
std::set<std::string> watched_hosts |
set of hosts for which one want to be notified if they ever restart.
std::map<std::string, simgrid::surf::StorageType*> storage_types |
s_surf_model_description_t surf_plugin_description[] |
The list of all available surf plugins.
double NOW = 0 |
const char* surf_action_state_names[6] |