X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9629498a7a855382c280907105392c21e03675b6..d44528033ed97582f1e57e061bcef971a8f88ccd:/include/instr/instr.h diff --git a/include/instr/instr.h b/include/instr/instr.h index e8464b6fa4..ccd354e94e 100644 --- a/include/instr/instr.h +++ b/include/instr/instr.h @@ -69,15 +69,26 @@ XBT_PUBLIC(void) TRACE_link_srcdst_variable_set_with_time (double time, const ch XBT_PUBLIC(void) TRACE_link_srcdst_variable_add_with_time (double time, const char *src, const char *dst, const char *variable, double value); XBT_PUBLIC(void) TRACE_link_srcdst_variable_sub_with_time (double time, const char *src, const char *dst, const char *variable, double value); XBT_PUBLIC(xbt_dynar_t) TRACE_get_link_variables (void); +XBT_PUBLIC(void) TRACE_host_state_declare (const char *state); +XBT_PUBLIC(void) TRACE_host_state_declare_value (const char *state, const char *value, const char *color); +XBT_PUBLIC(void) TRACE_host_set_state (const char *host, const char *state, const char *value); +XBT_PUBLIC(void) TRACE_host_push_state (const char *host, const char *state, const char *value); +XBT_PUBLIC(void) TRACE_host_pop_state (const char *host, const char *state); + +/* for creating graph configuration files for Triva by hand */ +XBT_PUBLIC(xbt_dynar_t) TRACE_get_node_types (void); +XBT_PUBLIC(xbt_dynar_t) TRACE_get_edge_types (void); #else /* HAVE_TRACING */ #define TRACE_category(category) #define TRACE_category_with_color(category,color) +#define TRACE_get_categories() #define TRACE_smpi_set_category(category) #define TRACE_declare_mark(mark_type) #define TRACE_mark(mark_type,mark_value) +#define TRACE_get_marks() #define TRACE_platform_graph_export_graphviz(filename) @@ -89,6 +100,7 @@ XBT_PUBLIC(xbt_dynar_t) TRACE_get_link_variables (void); #define TRACE_host_variable_set_with_time(time,host,var,value) #define TRACE_host_variable_add_with_time(time,host,var,value) #define TRACE_host_variable_sub_with_time(time,host,var,value) +#define TRACE_get_host_variables() #define TRACE_link_variable_declare(var) #define TRACE_link_variable_declare_with_color(var,color) @@ -105,6 +117,10 @@ XBT_PUBLIC(xbt_dynar_t) TRACE_get_link_variables (void); #define TRACE_link_srcdst_variable_set_with_time(time,src,dst,var,value) #define TRACE_link_srcdst_variable_add_with_time(time,src,dst,var,value) #define TRACE_link_srcdst_variable_sub_with_time(time,src,dst,var,value) +#define TRACE_get_host_variables() + +#define TRACE_get_node_types() +#define TRACE_get_edge_types() #endif /* HAVE_TRACING */