From: Navarrop Date: Fri, 21 Oct 2011 11:07:27 +0000 (+0200) Subject: You can now specify if you want sleep to see memory usage. X-Git-Tag: exp_20120216~133^2~103 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/87095ad793add2395ed116d77496831460990770 You can now specify if you want sleep to see memory usage. --- diff --git a/teshsuite/simdag/platforms/Evaluate_parse_time.c b/teshsuite/simdag/platforms/Evaluate_parse_time.c index aa4c8e6430..42f2f6236d 100644 --- 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) ); - - 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();