SimGrid  3.16
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)
 
static void sg_instr_AS_begin (simgrid::s4u::NetZone &netzone)
 
static void sg_instr_AS_end (simgrid::s4u::NetZone &)
 
static void instr_routing_parse_start_link (simgrid::s4u::Link &link)
 
static void sg_instr_new_host (simgrid::s4u::Host &host)
 
void sg_instr_new_router (const char *name)
 
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, sg_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()

static void sg_instr_AS_begin ( simgrid::s4u::NetZone netzone)
static

◆ sg_instr_AS_end()

static void sg_instr_AS_end ( simgrid::s4u::NetZone )
static

◆ instr_routing_parse_start_link()

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

◆ sg_instr_new_host()

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

◆ sg_instr_new_router()

void sg_instr_new_router ( const char *  name)

◆ 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,
sg_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