A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move one more tracing test
[simgrid.git]
/
examples
/
msg
/
tracing
/
procmig.c
diff --git
a/examples/msg/tracing/procmig.c
b/examples/msg/tracing/procmig.c
index
78f3616
..
13f3955
100644
(file)
--- a/
examples/msg/tracing/procmig.c
+++ b/
examples/msg/tracing/procmig.c
@@
-16,8
+16,6
@@
#include "simgrid/msg.h"
#include "simgrid/msg.h"
-XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
-
/** The guy we will move from host to host. It move alone and then is moved by policeman back */
static int emigrant(int argc, char *argv[])
{
/** The guy we will move from host to host. It move alone and then is moved by policeman back */
static int emigrant(int argc, char *argv[])
{
@@
-39,7
+37,7
@@
static int emigrant(int argc, char *argv[])
return 0;
}
return 0;
}
-static int
master
(int argc, char *argv[])
+static int
policeman
(int argc, char *argv[])
{
msg_task_t task = NULL;
{
msg_task_t task = NULL;
@@
-81,7
+79,7
@@
int main(int argc, char *argv[])
TRACE_category ("migration_order");
MSG_process_create("emigrant", emigrant, NULL, MSG_get_host_by_name("Fafard"));
TRACE_category ("migration_order");
MSG_process_create("emigrant", emigrant, NULL, MSG_get_host_by_name("Fafard"));
- MSG_process_create("
master", master
, NULL, MSG_get_host_by_name("Tremblay"));
+ MSG_process_create("
policeman", policeman
, NULL, MSG_get_host_by_name("Tremblay"));
MSG_main();
return 0;
MSG_main();
return 0;