Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now that MSG uses sain units, we don't have to convert anymore
[simgrid.git] / src / gras / Transport / transport_plugin_sg.c
index d90c36f..fdf2fe4 100644 (file)
@@ -18,8 +18,7 @@
 #include "transport_private.h"
 #include "gras/Virtu/virtu_sg.h"
 
-XBT_LOG_EXTERNAL_CATEGORY(transport);
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(trp_sg,transport,"SimGrid pseudo-transport");
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_trp_sg,gras_trp,"SimGrid pseudo-transport");
 
 /***
  *** Prototypes 
@@ -266,7 +265,7 @@ void gras_trp_sg_chunk_send_raw(gras_socket_t sock,
     task_data->data = NULL;
   }
 
-  task=MSG_task_create(name,0,((double)size)/(1024.0*1024.0),task_data);
+  task=MSG_task_create(name,0,((double)size),task_data);
 
   DEBUG5("send chunk %s from %s to  %s:%d (size=%ld)",
         name, MSG_host_get_name(MSG_host_self()),