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
[trace] Fix tests: tracing-ms, and tracing-categories.
[simgrid.git]
/
examples
/
msg
/
masterslave
/
masterslave_bypass.c
diff --git
a/examples/msg/masterslave/masterslave_bypass.c
b/examples/msg/masterslave/masterslave_bypass.c
index
19577a5
..
159a1bf
100644
(file)
--- a/
examples/msg/masterslave/masterslave_bypass.c
+++ b/
examples/msg/masterslave/masterslave_bypass.c
@@
-39,6
+39,7
@@
static int surf_parse_bypass_platform(void)
SURFXML_BUFFER_SET(host_core, "1");
A_surfxml_host_state = A_surfxml_host_state_ON;
SURFXML_BUFFER_SET(host_state_file, "");
SURFXML_BUFFER_SET(host_core, "1");
A_surfxml_host_state = A_surfxml_host_state_ON;
SURFXML_BUFFER_SET(host_state_file, "");
+ SURFXML_BUFFER_SET(host_coordinates, "");
SURFXML_START_TAG(host);
SURFXML_END_TAG(host);
SURFXML_START_TAG(host);
SURFXML_END_TAG(host);
@@
-50,6
+51,7
@@
static int surf_parse_bypass_platform(void)
SURFXML_BUFFER_SET(host_core, "1");
A_surfxml_host_state = A_surfxml_host_state_ON;
SURFXML_BUFFER_SET(host_state_file, "");
SURFXML_BUFFER_SET(host_core, "1");
A_surfxml_host_state = A_surfxml_host_state_ON;
SURFXML_BUFFER_SET(host_state_file, "");
+ SURFXML_BUFFER_SET(host_coordinates, "");
SURFXML_START_TAG(host);
SURFXML_END_TAG(host);
SURFXML_START_TAG(host);
SURFXML_END_TAG(host);
@@
-168,11
+170,11
@@
int master(int argc, char *argv[])
int read;
read = sscanf(argv[1], "%d", &number_of_tasks);
int read;
read = sscanf(argv[1], "%d", &number_of_tasks);
- xbt_assert
1
(read, "Invalid argument %s\n", argv[1]);
+ xbt_assert(read, "Invalid argument %s\n", argv[1]);
read = sscanf(argv[2], "%lg", &task_comp_size);
read = sscanf(argv[2], "%lg", &task_comp_size);
- xbt_assert
1
(read, "Invalid argument %s\n", argv[2]);
+ xbt_assert(read, "Invalid argument %s\n", argv[2]);
read = sscanf(argv[3], "%lg", &task_comm_size);
read = sscanf(argv[3], "%lg", &task_comm_size);
- xbt_assert
1
(read, "Invalid argument %s\n", argv[3]);
+ xbt_assert(read, "Invalid argument %s\n", argv[3]);
{ /* Task creation */
char sprintf_buffer[64];
{ /* Task creation */
char sprintf_buffer[64];