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
Merge branches 'MC_LTL' and 'MC_LTL' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
teshsuite
/
simdag
/
platforms
/
Evaluate_parse_time.c
diff --git
a/teshsuite/simdag/platforms/Evaluate_parse_time.c
b/teshsuite/simdag/platforms/Evaluate_parse_time.c
index
aa4c8e6
..
42f2f62
100644
(file)
--- a/
teshsuite/simdag/platforms/Evaluate_parse_time.c
+++ b/
teshsuite/simdag/platforms/Evaluate_parse_time.c
@@
-28,8
+28,12
@@
int main(int argc, char **argv)
/* Display the result and exit after cleanup */
printf( "%lf\n", xbt_os_timer_elapsed(timer) );
/* Display the result and exit after cleanup */
printf( "%lf\n", xbt_os_timer_elapsed(timer) );
-
- sleep(20);
+ printf("Workstation number: %d, link number: %d\n",
+ SD_workstation_get_number(), SD_link_get_number());
+ if(argv[2]){
+ printf("Wait for %ss\n",argv[2]);
+ sleep(atoi(argv[2]));
+ }
SD_exit();
SD_exit();