#include "xbt/heap.h"
#include "simgrid/forward.h"
+#include <vector>
SG_BEGIN_DECL()
-#include "xbt/heap.h"
typedef struct tmgr_event {
double delta;
double value;
} s_tmgr_event_t, *tmgr_event_t;
-typedef struct tmgr_trace {
- xbt_dynar_t event_list;
-} s_tmgr_trace_t;
-
/* Iterator within a trace */
typedef struct tmgr_trace_iterator {
tmgr_trace_t trace;
XBT_PUBLIC_CLASS trace {
public:
/** Creates an empty trace */
- trace() {}
- virtual ~trace() {}
+ trace();
+ virtual ~trace();
+//private:
+ std::vector<s_tmgr_event_t> event_list;
};
/** @brief Future Event Set (collection of iterators over the traces)