X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/acc023ef628e5c9efdd290c09a8b492eb97db699..5198991bb329c947bd497b66b2d837959ce20ee6:/src/instr/instr_paje_events.hpp diff --git a/src/instr/instr_paje_events.hpp b/src/instr/instr_paje_events.hpp index 6f0b3bb4e6..c8fa8b2591 100644 --- a/src/instr/instr_paje_events.hpp +++ b/src/instr/instr_paje_events.hpp @@ -12,6 +12,7 @@ namespace simgrid { namespace instr { class EntityValue; +class TIData; enum e_event_type : unsigned int { PAJE_DefineContainerType, @@ -62,13 +63,12 @@ public: class StateEvent : public PajeEvent { EntityValue* value; std::string filename; - int linenumber; - void* extra_ = nullptr; + int linenumber = 0; + TIData* extra_ = nullptr; public: - StateEvent(double timestamp, Container* container, Type* type, e_event_type event_type, EntityValue* value); - StateEvent(double timestamp, Container* container, Type* type, e_event_type event_type, EntityValue* value, - void* extra); + StateEvent(Container* container, Type* type, e_event_type event_type, EntityValue* value); + StateEvent(Container* container, Type* type, e_event_type event_type, EntityValue* value, TIData* extra); void print() override; }; @@ -79,10 +79,10 @@ class LinkEvent : public PajeEvent { int size_ = -1; public: - LinkEvent(double timestamp, Container* container, Type* type, e_event_type event_type, Container* sourceContainer, - std::string value, std::string key); - LinkEvent(double timestamp, Container* container, Type* type, e_event_type event_type, Container* sourceContainer, - std::string value, std::string key, int size); + LinkEvent(Container* container, Type* type, e_event_type event_type, Container* sourceContainer, std::string value, + std::string key); + LinkEvent(Container* container, Type* type, e_event_type event_type, Container* sourceContainer, std::string value, + std::string key, int size); void print() override; }; @@ -95,5 +95,4 @@ public: }; } } - #endif