-/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#define INSTR_PAJE_EVENTS_HPP
#include "src/instr/instr_private.hpp"
+#include "src/internal_config.h"
#include <sstream>
#include <string>
Container* container_;
Type* type_;
protected:
- Container* getContainer() { return container_; }
+ Container* get_container() { return container_; }
public:
double timestamp_;
e_event_type eventType_;
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;
class StateEvent : public PajeEvent {
EntityValue* value;
+#if HAVE_SMPI
std::string filename = "(null)";
int linenumber = -1;
+#endif
TIData* extra_;
public: