Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add the Storage::read_async and Storage::write_async methods
[simgrid.git] / src / instr / instr_paje_events.hpp
index eb4041e..27ce68d 100644 (file)
@@ -7,6 +7,7 @@
 #define INSTR_PAJE_EVENTS_HPP
 
 #include "src/instr/instr_private.hpp"
+#include "src/internal_config.h"
 #include <sstream>
 #include <string>
 
@@ -53,11 +54,11 @@ public:
 };
 
 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: