From: Takishipp Date: Wed, 12 Jul 2017 13:55:28 +0000 (+0200) Subject: Delete an another unused fonction X-Git-Tag: v3_17~368^2^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d1275c70614a349e58457b74fe39372038484092 Delete an another unused fonction --- diff --git a/include/simgrid/instr.h b/include/simgrid/instr.h index add1e7693e..83186e9f83 100644 --- a/include/simgrid/instr.h +++ b/include/simgrid/instr.h @@ -73,7 +73,6 @@ XBT_PUBLIC(void) TRACE_host_state_declare_value (const char *state, const char * 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); -XBT_PUBLIC(void) TRACE_host_reset_state (const char *host, const char *state); /* for creating graph configuration files for Viva by hand */ XBT_PUBLIC(xbt_dynar_t) TRACE_get_node_types (); diff --git a/src/instr/instr_interface.cpp b/src/instr/instr_interface.cpp index 6b2b48c98b..246fce46eb 100644 --- a/src/instr/instr_interface.cpp +++ b/src/instr/instr_interface.cpp @@ -990,23 +990,6 @@ void TRACE_host_pop_state (const char *host, const char *state) new PopStateEvent(MSG_get_clock(), container, type); } -/** \ingroup TRACE_user_variables - * \brief Reset the state of a given host. - * - * Clear all previous values of a user state. - * - * \param host The name of the host to be considered. - * \param state The name of the state to be cleared. - * - * \see TRACE_host_state_declare, TRACE_host_set_state, TRACE_host_push_state, TRACE_host_pop_state - */ -void TRACE_host_reset_state (const char *host, const char *state) -{ - container_t container = PJ_container_get(host); - type_t type = PJ_type_get (state, container->type); - new ResetStateEvent(MSG_get_clock(), container, type); -} - /** \ingroup TRACE_API * \brief Get Paje container types that can be mapped to the nodes of a graph. *