X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16b00ebbfcbfb884be7fd8198b8c4ce80a23de36..73d1f79133c1e0e086ce5e2414aa04d180cba08a:/src/surf/trace_mgr.hpp diff --git a/src/surf/trace_mgr.hpp b/src/surf/trace_mgr.hpp index 8fb7dd8b69..26f221372f 100644 --- 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 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; @@ -74,8 +70,10 @@ XBT_PUBLIC_CLASS trace_iterator { XBT_PUBLIC_CLASS trace { public: /** Creates an empty trace */ - trace() {} - virtual ~trace() {} + trace(); + virtual ~trace(); +//private: + std::vector event_list; }; /** @brief Future Event Set (collection of iterators over the traces)