Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't test features that are impossible to get right
[simgrid.git] / examples / msg / trace-platform / trace-platform.c
1 /* Copyright (c) 2010, 2012-2016. The SimGrid Team. All rights reserved.    */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "simgrid/msg.h"
7
8 int main(int argc, char *argv[])
9 {
10   MSG_init(&argc, argv);
11   xbt_assert(argc > 1, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);
12   MSG_create_environment(argv[1]);
13   MSG_main();
14   return 0;
15 }