git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8621
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* initialisation of SD */
SD_init(&argc, argv);
/* initialisation of SD */
SD_init(&argc, argv);
-#ifdef HAVE_TRACING
- TRACE_start ();
-#endif
/* Check our arguments */
if (argc < 3) {
/* Check our arguments */
if (argc < 3) {
-#ifdef HAVE_TRACING
- TRACE_end();
-#endif
/* initialisation of SD */
SD_init(&argc, argv);
/* initialisation of SD */
SD_init(&argc, argv);
/* Check our arguments */
if (argc < 3) {
INFO1("Usage: %s platform_file dot_file [trace_file]", argv[0]);
/* Check our arguments */
if (argc < 3) {
INFO1("Usage: %s platform_file dot_file [trace_file]", argv[0]);
/* initialisation of SD */
SD_init(&argc, argv);
/* initialisation of SD */
SD_init(&argc, argv);
/* xbt_log_control_set("sd.thres=debug"); */
if (argc < 2) {
/* xbt_log_control_set("sd.thres=debug"); */
if (argc < 2) {
DEBUG0("Tasks destroyed. Exiting SimDag...");
SD_exit();
DEBUG0("Tasks destroyed. Exiting SimDag...");
SD_exit();
xbt_cfg_setdefault_string(_surf_cfg_set, "workstation/model",
"ptask_L07");
xbt_cfg_setdefault_string(_surf_cfg_set, "workstation/model",
"ptask_L07");
+
+#ifdef HAVE_TRACING
+ TRACE_start ();
+#endif
WARN0("SD_exit() called, but SimDag is not running");
/* we cannot use exceptions here because xbt is not running! */
}
WARN0("SD_exit() called, but SimDag is not running");
/* we cannot use exceptions here because xbt is not running! */
}
+#ifdef HAVE_TRACING
+ TRACE_end();
+#endif