Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modified smpi_sleep() so that it returns 0, instead of the number of seconds
[simgrid.git] / src / instr / instr_TI_trace.c
index 9e0e73b9d7fc9674a32410bca118d26a6c8c0079..7c32c7de9f3a53e701c5a1ffed185fa89bb3b5eb 100644 (file)
@@ -1,8 +1,9 @@
-/* Copyright (c) 2010-2013. The SimGrid Team.
+/* Copyright (c) 2010-2014. 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. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 #include "instr/instr_private.h"
 #include "xbt/virtu.h" /* sg_cmdline */
 #include "xbt/xbt_os_time.h"
@@ -148,6 +149,9 @@ void print_TIPushState(paje_event_t event)
     fprintf(trace_file, "%s irecv %d %d %s\n", process_id, extra->src,
             extra->send_size, extra->datatype1);
     break;
+  case TRACING_TEST:
+    fprintf(trace_file, "%s test\n", process_id);
+    break;
   case TRACING_WAIT:
     fprintf(trace_file, "%s wait\n", process_id);
     break;