Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Direct context switching: clean the semantics of parmap
[simgrid.git] / src / surf / trace_mgr_private.h
index bcea7f3..5f72a84 100644 (file)
@@ -1,7 +1,8 @@
-/* Authors: Arnaud Legrand                                                  */
+/* Copyright (c) 2004, 2007, 2009, 2010. 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. */
 
 #ifndef _SURF_TMGR_PRIVATE_H
 #define _SURF_TMGR_PRIVATE_H
@@ -11,8 +12,8 @@
 #include "surf/trace_mgr.h"
 
 typedef struct tmgr_event {
-  xbt_heap_float_t delta;
-  xbt_maxmin_float_t value;
+  double delta;
+  double value;
 } s_tmgr_event_t, *tmgr_event_t;
 
 typedef struct tmgr_trace {
@@ -21,12 +22,13 @@ typedef struct tmgr_trace {
 
 typedef struct tmgr_trace_event {
   tmgr_trace_t trace;
-  int idx;
-  void *resource;
-} s_tmgr_trace_event_t, *tmgr_trace_event_t;
+  unsigned int idx;
+  void *model;
+  int free_me;
+} s_tmgr_trace_event_t;
 
 typedef struct tmgr_history {
   xbt_heap_t heap;
 } s_tmgr_history_t;
 
-#endif                         /* _SURF_TMGR_PRIVATE_H */
+#endif                          /* _SURF_TMGR_PRIVATE_H */