1 /* Copyright (c) 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 /** @addtogroup MSG_examples
9 * - <b>tracing/trace_platform.c</b>: Demonstrates how to trace the platform
14 #include "xbt/sysdep.h" /* calloc, printf */
17 #include "xbt/asserts.h"
18 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
21 int main(int argc, char *argv[])
23 MSG_global_init(&argc, argv);
25 printf("Usage: %s platform_file\n", argv[0]);
29 char *platform_file = argv[1];
30 MSG_create_environment(platform_file);