X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed9b07e5c0c7eb6d4d38b0fe5aaea80d6996a8a7..a88a4036e14334a7a01fc40a7d547687ba6dee38:/include/simgrid/instr.h diff --git a/include/simgrid/instr.h b/include/simgrid/instr.h index 0c37ffe7b6..ead4ebb0b1 100644 --- a/include/simgrid/instr.h +++ b/include/simgrid/instr.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2014. The SimGrid Team. +/* Copyright (c) 2010-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -14,34 +14,25 @@ #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_ */