SimGrid  3.14.159
Versatile Simulation of Distributed Systems
surf_interface.hpp File Reference
#include "xbt/signal.hpp"
#include "src/surf/surf_private.h"
#include "surf/surf.h"
#include "surf/surf_routing.h"
#include "xbt/str.h"
#include <boost/intrusive/list.hpp>
#include <string>

Classes

class  simgrid::surf::Action
 SURF action interface class. More...
 
class  simgrid::surf::Model
 SURF model interface class. More...
 
struct  s_surf_metric_t
 Resource which have a metric handled by a maxmin system. More...
 
class  simgrid::surf::Resource
 SURF resource interface class. More...
 
struct  std::hash< simgrid::surf::Resource >
 

Namespaces

 simgrid
 Host datatype from SIMIX POV.
 
 simgrid::surf
 
 std
 

Macros

#define NO_MAX_DURATION   -1.0
 

Typedefs

typedef Action::ActionList simgrid::surf::ActionList
 
typedef boost::intrusive::member_hook< Action, boost::intrusive::list_member_hook<>, &Action::action_lmm_hook > simgrid::surf::ActionLmmOptions
 
typedef boost::intrusive::list< Action, ActionLmmOptions > simgrid::surf::ActionLmmList
 
typedef ActionLmmList * simgrid::surf::ActionLmmListPtr
 

Enumerations

enum  heap_action_type { LATENCY = 100, MAX_DURATION, NORMAL, NOTSET }
 

Functions

double surf_get_clock (void)
 Return the current time. More...
 
int __surf_is_absolute_file_path (const char *file_path)
 
static char * sg_storage_name (sg_storage_t storage)
 
void surf_action_lmm_update_index_heap (void *action, int i)
 

Variables

double sg_tcp_gamma
 
double sg_sender_gap
 
double sg_latency_factor
 
double sg_bandwidth_factor
 
double sg_weight_S_parameter
 
int sg_network_crosstraffic
 
xbt_dynar_t surf_path
 
std::vector< sg_host_thost_that_restart
 List of hosts that have just restarted and whose autorestart process should be restarted. More...
 
xbt_dict_t traces_set_list
 
std::vector< surf_model_t > * all_existing_models
 List of initialized models. More...
 

Macro Definition Documentation

◆ NO_MAX_DURATION

#define NO_MAX_DURATION   -1.0

Enumeration Type Documentation

◆ heap_action_type

Enumerator
LATENCY 
MAX_DURATION 
NORMAL 
NOTSET 

Function Documentation

◆ __surf_is_absolute_file_path()

int __surf_is_absolute_file_path ( const char *  file_path)

◆ sg_storage_name()

static char* sg_storage_name ( sg_storage_t  storage)
inlinestatic

◆ surf_action_lmm_update_index_heap()

void surf_action_lmm_update_index_heap ( void action,
int  i 
)

Variable Documentation

◆ sg_tcp_gamma

double sg_tcp_gamma

◆ sg_sender_gap

double sg_sender_gap

◆ sg_latency_factor

double sg_latency_factor

◆ sg_bandwidth_factor

double sg_bandwidth_factor

◆ sg_weight_S_parameter

double sg_weight_S_parameter

◆ sg_network_crosstraffic

int sg_network_crosstraffic

◆ surf_path

xbt_dynar_t surf_path

◆ traces_set_list

xbt_dict_t traces_set_list