Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
never ending cleanup of the simdag world
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 22 Feb 2016 19:15:17 +0000 (20:15 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 22 Feb 2016 19:15:17 +0000 (20:15 +0100)
 + don't know what this test did

teshsuite/simdag/platforms/basic_tracing.c [deleted file]

diff --git a/teshsuite/simdag/platforms/basic_tracing.c b/teshsuite/simdag/platforms/basic_tracing.c
deleted file mode 100644 (file)
index 590d0f6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (c) 2008-2015. The SimGrid Team.
- * All rights reserved.                                                     */
-
-/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include "simgrid/msg.h"
-
-XBT_LOG_NEW_DEFAULT_CATEGORY(basic_tracing,"Messages specific for this example");
-
-static int host(int argc, char *argv[])
-{
-  XBT_INFO("Sleep for 1s");
-  MSG_process_sleep(1);
-  return 0;
-}
-
-int main(int argc, char **argv)
-{
-  MSG_init(&argc, argv);
-  MSG_create_environment(argv[1]);
-  MSG_function_register("host", host);
-  xbt_dynar_t all_hosts = MSG_hosts_as_dynar();
-  MSG_process_create( "host", host, NULL, xbt_dynar_pop_as(all_hosts,msg_host_t));
-  xbt_dynar_free(&all_hosts);
-
-  int res = MSG_main();
-  XBT_INFO("Simulation time %g", MSG_get_clock());
-
-  return res != MSG_OK;
-}