Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert enum smpi_process_state to enum class.
[simgrid.git] / src / instr / instr_paje_events.hpp
index a3a9522..87ed434 100644 (file)
@@ -40,7 +40,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 +48,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;