-/* 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
#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 {
typedef struct tmgr_trace_event {
tmgr_trace_t trace;
- int idx;
- void *resource;
+ 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 */