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
reduce amount of login for the new default loop count
[simgrid.git]
/
examples
/
gras
/
tokenS
/
tokenS.c
diff --git
a/examples/gras/tokenS/tokenS.c
b/examples/gras/tokenS/tokenS.c
index
735c236
..
d22444c
100644
(file)
--- a/
examples/gras/tokenS/tokenS.c
+++ b/
examples/gras/tokenS/tokenS.c
@@
-54,7
+54,7
@@
static int node_cb_stoken_handler(gras_socket_t expeditor,
int supersteps = 1;
if (NBLOOPS >= 1000) {
supersteps = 100;
int supersteps = 1;
if (NBLOOPS >= 1000) {
supersteps = 100;
- } else if (NBLOOPS > 100) {
+ } else if (NBLOOPS >
=
100) {
supersteps = 10;
}
if (globals->create && (! (globals->remaining_loop % supersteps))) {
supersteps = 10;
}
if (globals->create && (! (globals->remaining_loop % supersteps))) {