SimGrid  3.13
Versatile Simulation of Distributed Systems
surf_interface.hpp File Reference
#include <xbt.h>
#include <string>
#include <vector>
#include <memory>
#include <utility>
#include <boost/function.hpp>
#include <boost/intrusive/list.hpp>
#include <xbt/signal.hpp>
#include "xbt/lib.h"
#include "surf/surf_routing.h"
#include "surf/surf.h"
#include "src/surf/surf_private.h"
#include "src/internal_config.h"

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
 
 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 XBT_PRIVATE __surf_is_absolute_file_path (const char *file_path)
 
static char * sg_storage_name (sg_storage_t storage)
 
XBT_PRIVATE void surf_action_lmm_update_index_heap (void *action, int i)
 

Variables

XBT_PRIVATE double sg_tcp_gamma
 
XBT_PRIVATE double sg_sender_gap
 
XBT_PRIVATE double sg_latency_factor
 
XBT_PRIVATE double sg_bandwidth_factor
 
XBT_PRIVATE double sg_weight_S_parameter
 
XBT_PRIVATE int sg_network_crosstraffic
 
XBT_PRIVATE xbt_dynar_t surf_path
 
xbt_dict_t traces_set_list
 
xbt_dynar_t all_existing_models
 List of initialized models. More...
 

Macro Definition Documentation

#define NO_MAX_DURATION   -1.0

Enumeration Type Documentation

Enumerator
LATENCY 
MAX_DURATION 
NORMAL 
NOTSET 

Function Documentation

int XBT_PRIVATE __surf_is_absolute_file_path ( const char *  file_path)
static char* sg_storage_name ( sg_storage_t  storage)
inlinestatic
XBT_PRIVATE void surf_action_lmm_update_index_heap ( void action,
int  i 
)

Variable Documentation

XBT_PRIVATE double sg_tcp_gamma
XBT_PRIVATE double sg_sender_gap
XBT_PRIVATE double sg_latency_factor
XBT_PRIVATE double sg_bandwidth_factor
XBT_PRIVATE double sg_weight_S_parameter
XBT_PRIVATE int sg_network_crosstraffic
xbt_dict_t traces_set_list