X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/390c4ee50cea7f1cb52ffc4bd7435a7ad4e9cc75..62534c29d0fe83dbec6b7e7642d2ecbe100f3d7b:/src/instr/instr_paje_events.hpp diff --git a/src/instr/instr_paje_events.hpp b/src/instr/instr_paje_events.hpp index a3a9522085..27ce68dc01 100644 --- a/src/instr/instr_paje_events.hpp +++ b/src/instr/instr_paje_events.hpp @@ -7,6 +7,7 @@ #define INSTR_PAJE_EVENTS_HPP #include "src/instr/instr_private.hpp" +#include "src/internal_config.h" #include #include @@ -40,7 +41,7 @@ class PajeEvent { Container* container_; Type* type_; protected: - Container* getContainer() { return container_; } + Container* get_container() { return container_; } public: double timestamp_; e_event_type eventType_; @@ -48,16 +49,16 @@ public: PajeEvent(Container* container, Type* type, double timestamp, e_event_type eventType); virtual ~PajeEvent() = default; - virtual void print() = 0; - void insertIntoBuffer(); + virtual void print(); + void insert_into_buffer(); }; class VariableEvent : public PajeEvent { - double value; + double value_; public: VariableEvent(double timestamp, Container* container, Type* type, e_event_type event_type, double value) - : PajeEvent::PajeEvent(container, type, timestamp, event_type), value(value) + : PajeEvent::PajeEvent(container, type, timestamp, event_type), value_(value) { } void print() override; @@ -65,8 +66,10 @@ public: class StateEvent : public PajeEvent { EntityValue* value; +#if HAVE_SMPI std::string filename = "(null)"; int linenumber = -1; +#endif TIData* extra_; public: