-/* Copyright (c) 2009-2010. The SimGrid Team.
+/* Copyright (c) 2009-2010, 2013-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
exit(USAGE_ERROR);
}
- N = atoi(argv[1]);
+ N = xbt_str_parse_int(argv[1], "Invalid size: %s");
start_time = (struct timeval *) malloc(sizeof(struct timeval));
stop_time = (struct timeval *) malloc(sizeof(struct timeval));