A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the future simgrid::*Exception inherit of legacy xbt_ex
[simgrid.git]
/
src
/
instr
/
instr_paje_events.hpp
diff --git
a/src/instr/instr_paje_events.hpp
b/src/instr/instr_paje_events.hpp
index
a3a9522
..
27ce68d
100644
(file)
--- 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"
#define INSTR_PAJE_EVENTS_HPP
#include "src/instr/instr_private.hpp"
+#include "src/internal_config.h"
#include <sstream>
#include <string>
#include <sstream>
#include <string>
@@
-40,7
+41,7
@@
class PajeEvent {
Container* container_;
Type* type_;
protected:
Container* container_;
Type* type_;
protected:
- Container* get
C
ontainer() { return container_; }
+ Container* get
_c
ontainer() { return container_; }
public:
double timestamp_;
e_event_type eventType_;
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;
PajeEvent(Container* container, Type* type, double timestamp, e_event_type eventType);
virtual ~PajeEvent() = default;
- virtual void print()
= 0
;
- void insert
IntoB
uffer();
+ virtual void print();
+ void insert
_into_b
uffer();
};
class VariableEvent : public PajeEvent {
};
class VariableEvent : public PajeEvent {
- double value;
+ double value
_
;
public:
VariableEvent(double timestamp, Container* container, Type* type, e_event_type event_type, 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;
{
}
void print() override;
@@
-65,8
+66,10
@@
public:
class StateEvent : public PajeEvent {
EntityValue* value;
class StateEvent : public PajeEvent {
EntityValue* value;
+#if HAVE_SMPI
std::string filename = "(null)";
int linenumber = -1;
std::string filename = "(null)";
int linenumber = -1;
+#endif
TIData* extra_;
public:
TIData* extra_;
public: