From: mquinson Date: Tue, 2 Mar 2010 00:29:17 +0000 (+0000) Subject: Kill the MSG_paje_output() function. It's a noop since 2 years X-Git-Tag: SVN~583 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3c3d12f53cae1413d15899def85f47a6b7318795 Kill the MSG_paje_output() function. It's a noop since 2 years git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7155 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/ChangeLog b/ChangeLog index e59ed15e71..dcb6a2c547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ SimGrid (3.3.5-svn) unstable; urgency=low Give the specific trace file as argument of each process, and call MSG_action_trace_run(NULL) You can still have one merged file for each processes. + * Kill the MSG_paje_output() function. It's a noop since 2 years. -- Da SimGrid team diff --git a/examples/msg/masterslave/masterslave_bypass.c b/examples/msg/masterslave/masterslave_bypass.c index df34e56b3c..44cb2bf5c4 100644 --- a/examples/msg/masterslave/masterslave_bypass.c +++ b/examples/msg/masterslave/masterslave_bypass.c @@ -285,7 +285,6 @@ MSG_error_t test_all(void) /* Simulation setting */ MSG_set_channel_number(MAX_CHANNEL); - MSG_paje_output("msg_test.trace"); surf_parse = surf_parse_bypass_platform; MSG_create_environment(NULL); diff --git a/examples/msg/masterslave/masterslave_failure.c b/examples/msg/masterslave/masterslave_failure.c index dae8413840..65148e3079 100644 --- a/examples/msg/masterslave/masterslave_failure.c +++ b/examples/msg/masterslave/masterslave_failure.c @@ -185,7 +185,6 @@ MSG_error_t test_all(const char *platform_file, const char *application_file) /* MSG_config("workstation_model","KCCFLN05"); */ { /* Simulation setting */ MSG_set_channel_number(MAX_CHANNEL); - MSG_paje_output("msg_test.trace"); MSG_create_environment(platform_file); } { /* Application deployment */ diff --git a/examples/msg/masterslave/masterslave_forwarder.c b/examples/msg/masterslave/masterslave_forwarder.c index 0f791cef59..58f6b305d4 100644 --- a/examples/msg/masterslave/masterslave_forwarder.c +++ b/examples/msg/masterslave/masterslave_forwarder.c @@ -182,7 +182,6 @@ MSG_error_t test_all(const char *platform_file, const char *application_file) /* MSG_config("surf_workstation_model","KCCFLN05"); */ { /* Simulation setting */ MSG_set_channel_number(MAX_CHANNEL); - MSG_paje_output("msg_test.trace"); MSG_create_environment(platform_file); } { /* Application deployment */ diff --git a/examples/msg/masterslave/masterslave_mailbox.c b/examples/msg/masterslave/masterslave_mailbox.c index b150334cf6..4bdd10f9d3 100644 --- a/examples/msg/masterslave/masterslave_mailbox.c +++ b/examples/msg/masterslave/masterslave_mailbox.c @@ -103,7 +103,6 @@ MSG_error_t test_all(const char *platform_file, /* MSG_config("surf_workstation_model","KCCFLN05"); */ { /* Simulation setting */ MSG_set_channel_number(0); - MSG_paje_output("msg_test.trace"); MSG_create_environment(platform_file); } { /* Application deployment */ diff --git a/examples/msg/priority/priority.c b/examples/msg/priority/priority.c index 8eaf7313e1..63162cfab8 100644 --- a/examples/msg/priority/priority.c +++ b/examples/msg/priority/priority.c @@ -46,7 +46,6 @@ static MSG_error_t test_all(const char *platform_file, { /* Simulation setting */ MSG_set_channel_number(1); - MSG_paje_output("msg_test.trace"); MSG_create_environment(platform_file); } { /* Application deployment */ diff --git a/examples/msg/sendrecv/sendrecv.c b/examples/msg/sendrecv/sendrecv.c index 58b6b09d93..68deabd3c3 100644 --- a/examples/msg/sendrecv/sendrecv.c +++ b/examples/msg/sendrecv/sendrecv.c @@ -133,7 +133,6 @@ MSG_error_t test_all(const char *platform_file, const char *application_file) /* Simulation setting */ MSG_set_channel_number(MAX_CHANNEL); - MSG_paje_output("msg_test.trace"); MSG_create_environment(platform_file); /* Application deployment */ diff --git a/examples/msg/suspend/suspend.c b/examples/msg/suspend/suspend.c index 0f0ca9cdd6..b5459b72ca 100644 --- a/examples/msg/suspend/suspend.c +++ b/examples/msg/suspend/suspend.c @@ -53,7 +53,6 @@ static MSG_error_t test_all(const char *platform_file, { /* Simulation setting */ MSG_set_channel_number(MAX_CHANNEL); - MSG_paje_output("msg_test.trace"); MSG_create_environment(platform_file); } { /* Application deployment */ diff --git a/include/msg/msg.h b/include/msg/msg.h index 78dc604535..409a59d46b 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -27,7 +27,6 @@ XBT_PUBLIC(void) MSG_function_register(const char *name, XBT_PUBLIC(void) MSG_function_register_default(xbt_main_func_t code); XBT_PUBLIC(xbt_main_func_t) MSG_get_registered_function(const char *name); XBT_PUBLIC(void) MSG_launch_application(const char *file); -XBT_PUBLIC(void) MSG_paje_output(const char *filename); XBT_PUBLIC(double) MSG_get_clock(void); XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void); diff --git a/src/msg/global.c b/src/msg/global.c index 9325a30bee..9f23a8bc6b 100644 --- a/src/msg/global.c +++ b/src/msg/global.c @@ -81,14 +81,6 @@ void MSG_global_init(int *argc, char **argv) return; } -/** \ingroup msg_easier_life - * \brief Traces MSG events in the Paje format. - */ - -void MSG_paje_output(const char *filename) -{ -} - /** \defgroup m_channel_management Understanding channels * \brief This section briefly describes the channel notion of MSG * (#m_channel_t).