Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
play with mpich3 cmake files
[simgrid.git] / include / simgrid / instr.h
index 3e6bdea..ead4ebb 100644 (file)
 #include "simgrid/msg.h"
 #include "simgrid/simdag.h"
 
-/*
- * Functions to manage tracing categories
- */
+SG_BEGIN_DECL()
+
+/* Functions to manage tracing categories */
 XBT_PUBLIC(void) TRACE_category(const char *category);
 XBT_PUBLIC(void) TRACE_category_with_color (const char *category, const char *color);
 XBT_PUBLIC(xbt_dynar_t) TRACE_get_categories (void);
 XBT_PUBLIC(void) TRACE_smpi_set_category(const char *category);
-XBT_PUBLIC(void) TRACE_sd_set_task_category(SD_task_t task,
-    const char *category);
 
-/*
- * Functions to manage tracing marks (used for trace comparison experiments)
- */
+/*  Functions to manage tracing marks (used for trace comparison experiments) */
 XBT_PUBLIC(void) TRACE_declare_mark(const char *mark_type);
 XBT_PUBLIC(void) TRACE_declare_mark_value_with_color (const char *mark_type, const char *mark_value, const char *mark_color);
 XBT_PUBLIC(void) TRACE_declare_mark_value (const char *mark_type, const char *mark_value);
 XBT_PUBLIC(void) TRACE_mark(const char *mark_type, const char *mark_value);
 XBT_PUBLIC(xbt_dynar_t) TRACE_get_marks (void);
 
-/*
- * Function used by graphicator (transform a SimGrid platform
- * file in a graphviz dot file with the network topology)
- */
+/* Function used by graphicator (transform a SimGrid platform file in a graphviz dot file with the network topology) */
 XBT_PUBLIC(int) TRACE_platform_graph_export_graphviz (const char *filename);
 
-/*
- * User-variables related functions
- */
+/* User-variables related functions*/
 /* for VM variables */
 XBT_PUBLIC(void) TRACE_vm_variable_declare (const char *variable);
 XBT_PUBLIC(void) TRACE_vm_variable_declare_with_color (const char *variable, const char *color);
@@ -53,7 +44,6 @@ XBT_PUBLIC(void) TRACE_vm_variable_add_with_time (double time, const char *vm, c
 XBT_PUBLIC(void) TRACE_vm_variable_sub_with_time (double time, const char *vm, const char *variable, double value);
 XBT_PUBLIC(xbt_dynar_t) TRACE_get_vm_variables (void);
 
-
 /* for host variables */
 XBT_PUBLIC(void) TRACE_host_variable_declare (const char *variable);
 XBT_PUBLIC(void) TRACE_host_variable_declare_with_color (const char *variable, const char *color);
@@ -96,4 +86,6 @@ XBT_PUBLIC(xbt_dynar_t) TRACE_get_edge_types (void);
 XBT_PUBLIC(void) TRACE_pause (void);
 XBT_PUBLIC(void) TRACE_resume (void);
 
+SG_END_DECL()
+
 #endif                          /* INSTR_H_ */