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 on tesh again, missing log lines
[simgrid.git]
/
examples
/
gras
/
all2all
/
all2all.c
diff --git
a/examples/gras/all2all/all2all.c
b/examples/gras/all2all/all2all.c
index
d722c56
..
8e5d607
100644
(file)
--- a/
examples/gras/all2all/all2all.c
+++ b/
examples/gras/all2all/all2all.c
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* ALL2ALL - all2all of GRAS features */
/* ALL2ALL - all2all of GRAS features */
-/* Copyright (c) 2006 Ahmed Harbaoui. All rights reserved. */
+/* Copyright (c) 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-58,8
+57,8
@@
int receiver(int argc, char *argv[])
free(data);
INFO3("Got Data from %s:%d (still %d to go)",
free(data);
INFO3("Got Data from %s:%d (still %d to go)",
- gras_socket_peer_name(expeditor),
gras_socket_peer_port(expeditor),
- todo);
+ gras_socket_peer_name(expeditor),
+
gras_socket_peer_port(expeditor),
todo);
}
}
@@
-87,7
+86,8
@@
int sender(int argc, char *argv[])
/* xbt_dynar for peers */
/* xbt_dynar for peers */
- xbt_dynar_t peers = xbt_dynar_new(sizeof(xbt_peer_t), &xbt_peer_free_voidp);
+ xbt_dynar_t peers =
+ xbt_dynar_new(sizeof(xbt_peer_t), &xbt_peer_free_voidp);
/* Init the GRAS infrastructure and declare my globals */
gras_init(&argc, argv);
/* Init the GRAS infrastructure and declare my globals */
gras_init(&argc, argv);