SimGrid  3.18
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, std::set< std::string > *filter)
 
static void recursiveGraphExtraction (simgrid::s4u::NetZone *netzone, container_t container, std::set< std::string > *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)
 
static void sg_instr_new_router (simgrid::kernel::routing::NetPoint *netpoint)
 
static void instr_routing_parse_end_platform ()
 
void instr_routing_define_callbacks ()
 
static void recursiveNewVariableType (std::string new_typename, std::string color, simgrid::instr::Type *root)
 
void instr_new_variable_type (std::string new_typename, std::string color)
 
static void recursiveNewUserVariableType (std::string father_type, std::string new_typename, std::string color, simgrid::instr::Type *root)
 
void instr_new_user_variable_type (std::string father_type, std::string new_typename, std::string color)
 
static void recursiveNewUserStateType (std::string father_type, std::string new_typename, simgrid::instr::Type *root)
 
void instr_new_user_state_type (std::string father_type, std::string new_typename)
 
static void recursiveNewValueForUserStateType (std::string type_name, const char *val, std::string color, simgrid::instr::Type *root)
 
void instr_new_value_for_user_state_type (std::string type_name, const char *value, std::string color)
 
int instr_platform_traced ()
 
static void recursiveXBTGraphExtraction (xbt_graph_t graph, std::map< std::string, xbt_node_t > *nodes, std::map< std::string, xbt_edge_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< simgrid::instr::NetZoneContainer * > currentContainer
 

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,
std::set< std::string > *  filter 
)
static

◆ recursiveGraphExtraction()

static void recursiveGraphExtraction ( simgrid::s4u::NetZone netzone,
container_t  container,
std::set< std::string > *  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()

static void sg_instr_new_router ( simgrid::kernel::routing::NetPoint netpoint)
static

◆ 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 ( std::string  new_typename,
std::string  color,
simgrid::instr::Type root 
)
static

◆ instr_new_variable_type()

void instr_new_variable_type ( std::string  new_typename,
std::string  color 
)

◆ recursiveNewUserVariableType()

static void recursiveNewUserVariableType ( std::string  father_type,
std::string  new_typename,
std::string  color,
simgrid::instr::Type root 
)
static

◆ instr_new_user_variable_type()

void instr_new_user_variable_type ( std::string  father_type,
std::string  new_typename,
std::string  color 
)

◆ recursiveNewUserStateType()

static void recursiveNewUserStateType ( std::string  father_type,
std::string  new_typename,
simgrid::instr::Type root 
)
static

◆ instr_new_user_state_type()

void instr_new_user_state_type ( std::string  father_type,
std::string  new_typename 
)

◆ recursiveNewValueForUserStateType()

static void recursiveNewValueForUserStateType ( std::string  type_name,
const char *  val,
std::string  color,
simgrid::instr::Type root 
)
static

◆ instr_new_value_for_user_state_type()

void instr_new_value_for_user_state_type ( std::string  type_name,
const char *  value,
std::string  color 
)

◆ instr_platform_traced()

int instr_platform_traced ( )

◆ recursiveXBTGraphExtraction()

static void recursiveXBTGraphExtraction ( xbt_graph_t  graph,
std::map< std::string, xbt_node_t > *  nodes,
std::map< std::string, xbt_edge_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<simgrid::instr::NetZoneContainer*> currentContainer
static