Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rewrite the kill_time mecanism.
[simgrid.git] / src / gras / Virtu / sg_process.c
index ea7e0f5..b524417 100644 (file)
@@ -29,7 +29,7 @@ void gras_agent_spawn(const char *name,
 
   smx_process_t process;
   simcall_process_create(&process, name, code, NULL,
-                           gras_os_myname(), argc, argv, properties);
+                           gras_os_myname(), -1.0, argc, argv, properties);
 }
 
 /* **************************************************************************
@@ -105,7 +105,7 @@ void gras_process_exit()
     unsigned int cpt;
     s_gras_msg_t msg;
     XBT_WARN
-        ("process %d terminated, but %ld messages are still queued. Message list:",
+        ("process %d terminated, but %lu messages are still queued. Message list:",
          gras_os_getpid(), xbt_dynar_length(msg_pd->msg_queue));
     xbt_dynar_foreach(msg_pd->msg_queue, cpt, msg) {
       XBT_WARN("   Message %s (%s) from %s@%s:%d", msg.type->name,
@@ -211,12 +211,8 @@ xbt_dict_t gras_os_host_properties(void)
  * (these functions are called by the stuff generated by gras_stub_generator)
  * **************************************************************************/
 
-XBT_LOG_EXTERNAL_CATEGORY(gras_trp);
-XBT_LOG_EXTERNAL_CATEGORY(gras_trp_sg);
-
 void gras_global_init(int *argc, char **argv)
 {
-  XBT_LOG_CONNECT(gras_trp_sg, gras_trp);
   SIMIX_global_init(argc, argv);
 }