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
moving to the right location.
[simgrid.git]
/
examples
/
msg
/
msg_test.c
diff --git
a/examples/msg/msg_test.c
b/examples/msg/msg_test.c
index
96705fc
..
f7b68ce
100644
(file)
--- a/
examples/msg/msg_test.c
+++ b/
examples/msg/msg_test.c
@@
-186,7
+186,7
@@
int forwarder(int argc, char *argv[])
}
}
}
}
-
+ i=0;
while(1) {
m_task_t task = NULL;
int a;
while(1) {
m_task_t task = NULL;
int a;
@@
-226,6
+226,7
@@
void test_all(const char *platform_file,const char *application_file)
{
{ /* Simulation setting */
MSG_set_channel_number(MAX_CHANNEL);
{
{ /* Simulation setting */
MSG_set_channel_number(MAX_CHANNEL);
+ MSG_paje_output("msg_test.trace");
MSG_create_environment(platform_file);
}
{ /* Application deployment */
MSG_create_environment(platform_file);
}
{ /* Application deployment */
@@
-235,7
+236,7
@@
void test_all(const char *platform_file,const char *application_file)
MSG_launch_application(application_file);
}
MSG_main();
MSG_launch_application(application_file);
}
MSG_main();
- printf("Simulation time %
L
g\n",MSG_getClock());
+ printf("Simulation time %g\n",MSG_getClock());
}
}