From 3e16b6f2bad9d9e1467c7a363c5969e712d0f011 Mon Sep 17 00:00:00 2001 From: schnorr Date: Thu, 2 Dec 2010 16:33:26 +0000 Subject: [PATCH] [trace] removing unused code details: - these functions were used to create a hierarchy of msg/simix/surf tasks/actions - such functionality was replaced by the categorized resource utilization tracing git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8903 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/instr/general.c | 33 --------------------------------- src/instr/private.h | 6 ------ 2 files changed, 39 deletions(-) diff --git a/src/instr/general.c b/src/instr/general.c index 85c7d5292b..fd65abec54 100644 --- a/src/instr/general.c +++ b/src/instr/general.c @@ -9,39 +9,6 @@ #ifdef HAVE_TRACING -char *TRACE_paje_msg_container(m_task_t task, char *host, char *output, - int len) -{ - if (output) { - snprintf(output, len, "msg-%p-%s-%lld", task, host, task->counter); - return output; - } else { - return NULL; - } -} - -char *TRACE_paje_smx_container(smx_action_t action, int seqnumber, - char *host, char *output, int len) -{ - if (output) { - snprintf(output, len, "smx-%p-%d", action, seqnumber); - return output; - } else { - return NULL; - } -} - -char *TRACE_paje_surf_container(void *action, int seqnumber, char *output, - int len) -{ - if (output) { - snprintf(output, len, "surf-%p-%d", action, seqnumber); - return output; - } else { - return NULL; - } -} - char *TRACE_host_container(m_host_t host, char *output, int len) { if (output) { diff --git a/src/instr/private.h b/src/instr/private.h index 5c29488745..b216175eca 100644 --- a/src/instr/private.h +++ b/src/instr/private.h @@ -75,12 +75,6 @@ void pajeNewEvent(double time, const char *entityType, const char *container, const char *value); /* from general.c */ -char *TRACE_paje_msg_container(m_task_t task, char *host, char *output, - int len); -char *TRACE_paje_smx_container(smx_action_t action, int seqnumber, - char *host, char *output, int len); -char *TRACE_paje_surf_container(void *action, int seqnumber, char *output, - int len); char *TRACE_host_container(m_host_t host, char *output, int len); char *TRACE_task_container(m_task_t task, char *output, int len); char *TRACE_process_container(m_process_t process, char *output, int len); -- 2.20.1