SimGrid  3.14.159
Versatile Simulation of Distributed Systems
instr_routing.cpp File Reference

Macros

#define GRAPHICATOR_SUPPORT_FUNCTIONS
 

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_routing, instr, "Tracing platform hierarchy")
 
static const char * instr_node_name (xbt_node_t node)
 
static container_t lowestCommonAncestor (container_t a1, container_t a2)
 
static void linkContainers (container_t src, container_t dst, xbt_dict_t filter)
 
static void recursiveGraphExtraction (simgrid::s4u::NetZone *netzone, container_t container, xbt_dict_t filter)
 
void sg_instr_AS_begin (sg_platf_AS_cbarg_t AS)
 
void sg_instr_AS_end ()
 
static void instr_routing_parse_start_link (simgrid::surf::Link *link)
 
void sg_instr_new_host (simgrid::s4u::Host &host)
 
void sg_instr_new_router (sg_platf_router_cbarg_t router)
 
static void instr_routing_parse_end_platform ()
 
void instr_routing_define_callbacks ()
 
static void recursiveNewVariableType (const char *new_typename, const char *color, type_t root)
 
void instr_new_variable_type (const char *new_typename, const char *color)
 
static void recursiveNewUserVariableType (const char *father_type, const char *new_typename, const char *color, type_t root)
 
void instr_new_user_variable_type (const char *father_type, const char *new_typename, const char *color)
 
static void recursiveNewUserStateType (const char *father_type, const char *new_typename, type_t root)
 
void instr_new_user_state_type (const char *father_type, const char *new_typename)
 
static void recursiveNewValueForUserStateType (const char *type_name, const char *value, const char *color, type_t root)
 
void instr_new_value_for_user_state_type (const char *type_name, const char *value, const char *color)
 
int instr_platform_traced ()
 
static void recursiveXBTGraphExtraction (xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges, NetZone_t netzone, container_t container)
 
xbt_graph_t instr_routing_platform_graph ()
 
void instr_routing_platform_graph_export_graphviz (xbt_graph_t g, const char *filename)
 

Variables

static int platform_created = 0
 
static std::vector< container_tcurrentContainer
 

Macro Definition Documentation

§ GRAPHICATOR_SUPPORT_FUNCTIONS

#define GRAPHICATOR_SUPPORT_FUNCTIONS

Function Documentation

§ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( instr_routing  ,
instr  ,
"Tracing platform hierarchy"   
)

§ instr_node_name()

static const char* instr_node_name ( xbt_node_t  node)
static

§ lowestCommonAncestor()

static container_t lowestCommonAncestor ( container_t  a1,
container_t  a2 
)
static

§ linkContainers()

static void linkContainers ( container_t  src,
container_t  dst,
xbt_dict_t  filter 
)
static

§ recursiveGraphExtraction()

static void recursiveGraphExtraction ( simgrid::s4u::NetZone netzone,
container_t  container,
xbt_dict_t  filter 
)
static

§ sg_instr_AS_begin()

void sg_instr_AS_begin ( sg_platf_AS_cbarg_t  AS)

§ sg_instr_AS_end()

void sg_instr_AS_end ( )

§ instr_routing_parse_start_link()

static void instr_routing_parse_start_link ( simgrid::surf::Link link)
static

§ sg_instr_new_host()

void sg_instr_new_host ( simgrid::s4u::Host host)

§ sg_instr_new_router()

void sg_instr_new_router ( sg_platf_router_cbarg_t  router)

§ instr_routing_parse_end_platform()

static void instr_routing_parse_end_platform ( )
static

§ instr_routing_define_callbacks()

void instr_routing_define_callbacks ( )

§ recursiveNewVariableType()

static void recursiveNewVariableType ( const char *  new_typename,
const char *  color,
type_t  root 
)
static

§ instr_new_variable_type()

void instr_new_variable_type ( const char *  new_typename,
const char *  color 
)

§ recursiveNewUserVariableType()

static void recursiveNewUserVariableType ( const char *  father_type,
const char *  new_typename,
const char *  color,
type_t  root 
)
static

§ instr_new_user_variable_type()

void instr_new_user_variable_type ( const char *  father_type,
const char *  new_typename,
const char *  color 
)

§ recursiveNewUserStateType()

static void recursiveNewUserStateType ( const char *  father_type,
const char *  new_typename,
type_t  root 
)
static

§ instr_new_user_state_type()

void instr_new_user_state_type ( const char *  father_type,
const char *  new_typename 
)

§ recursiveNewValueForUserStateType()

static void recursiveNewValueForUserStateType ( const char *  type_name,
const char *  value,
const char *  color,
type_t  root 
)
static

§ instr_new_value_for_user_state_type()

void instr_new_value_for_user_state_type ( const char *  type_name,
const char *  value,
const char *  color 
)

§ instr_platform_traced()

int instr_platform_traced ( )

§ recursiveXBTGraphExtraction()

static void recursiveXBTGraphExtraction ( xbt_graph_t  graph,
xbt_dict_t  nodes,
xbt_dict_t  edges,
NetZone_t  netzone,
container_t  container 
)
static

§ instr_routing_platform_graph()

xbt_graph_t instr_routing_platform_graph ( )

§ instr_routing_platform_graph_export_graphviz()

void instr_routing_platform_graph_export_graphviz ( xbt_graph_t  g,
const char *  filename 
)

Variable Documentation

§ platform_created

int platform_created = 0
static

§ currentContainer

std::vector<container_t> currentContainer
static