SimGrid  3.13
Versatile Simulation of Distributed Systems
instr_routing.cpp File Reference
#include "src/instr/instr_private.h"
#include "src/surf/AsImpl.hpp"
#include "simgrid/s4u/engine.hpp"
#include "surf/surf.h"
#include "src/surf/xml/platf_private.hpp"
#include "xbt/graph.h"

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::As *as, 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 (sg_platf_link_cbarg_t link)
 
void sg_instr_new_host (sg_platf_host_cbarg_t 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, AS_t as, container_t container)
 
xbt_graph_t instr_routing_platform_graph (void)
 
void instr_routing_platform_graph_export_graphviz (xbt_graph_t g, const char *filename)
 

Variables

static int platform_created = 0
 
static xbt_dynar_t currentContainer = NULL
 

Macro Definition Documentation

#define GRAPHICATOR_SUPPORT_FUNCTIONS

Function Documentation

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( instr_routing  ,
instr  ,
"Tracing platform hierarchy"   
)
static const char* instr_node_name ( xbt_node_t  node)
static
static container_t lowestCommonAncestor ( container_t  a1,
container_t  a2 
)
static
static void linkContainers ( container_t  src,
container_t  dst,
xbt_dict_t  filter 
)
static
static void recursiveGraphExtraction ( simgrid::s4u::As *  as,
container_t  container,
xbt_dict_t  filter 
)
static
void sg_instr_AS_begin ( sg_platf_AS_cbarg_t  AS)
void sg_instr_AS_end ( )
static void instr_routing_parse_start_link ( sg_platf_link_cbarg_t  link)
static
void sg_instr_new_host ( sg_platf_host_cbarg_t  host)
void sg_instr_new_router ( sg_platf_router_cbarg_t  router)
static void instr_routing_parse_end_platform ( )
static
void instr_routing_define_callbacks ( void  )
static void recursiveNewVariableType ( const char *  new_typename,
const char *  color,
type_t  root 
)
static
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 
)
static
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 
)
static
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 
)
static
void instr_new_value_for_user_state_type ( const char *  type_name,
const char *  value,
const char *  color 
)
int instr_platform_traced ( void  )
static void recursiveXBTGraphExtraction ( xbt_graph_t  graph,
xbt_dict_t  nodes,
xbt_dict_t  edges,
AS_t  as,
container_t  container 
)
static
xbt_graph_t instr_routing_platform_graph ( void  )
void instr_routing_platform_graph_export_graphviz ( xbt_graph_t  g,
const char *  filename 
)

Variable Documentation

int platform_created = 0
static
xbt_dynar_t currentContainer = NULL
static