A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redemption of a LMM function used by the energy plugin
[simgrid.git]
/
src
/
surf
/
trace_mgr.hpp
diff --git
a/src/surf/trace_mgr.hpp
b/src/surf/trace_mgr.hpp
index
8fb7dd8
..
26f2213
100644
(file)
--- a/
src/surf/trace_mgr.hpp
+++ b/
src/surf/trace_mgr.hpp
@@
-9,19
+9,15
@@
#include "xbt/heap.h"
#include "simgrid/forward.h"
#include "xbt/heap.h"
#include "simgrid/forward.h"
+#include <vector>
SG_BEGIN_DECL()
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_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;
/* Iterator within a trace */
typedef struct tmgr_trace_iterator {
tmgr_trace_t trace;
@@
-74,8
+70,10
@@
XBT_PUBLIC_CLASS trace_iterator {
XBT_PUBLIC_CLASS trace {
public:
/** Creates an empty 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)
};
/** @brief Future Event Set (collection of iterators over the traces)