Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into clean_events
[simgrid.git] / src / instr / instr_private.h
index 9b3d7a8..64e6080 100644 (file)
@@ -101,7 +101,7 @@ class s_container;
 typedef s_container *container_t;
 
 class s_container {
-  public: 
+  public:
   sg_netpoint_t netpoint;
   char *name;     /* Unique name of this container */
   char *id;       /* Unique id of this container */
@@ -125,9 +125,25 @@ class PajeEvent {
 
 //--------------------------------------------------
 
+class DefineVariableTypeEvent : public PajeEvent
+{
+  public:
+  type_t type;
+   DefineVariableTypeEvent(type_t type);
+   void print() override;
+};
+//--------------------------------------------------
+
+class DefineStateTypeEvent : public PajeEvent  {
+  type_t type;
+  public:
+  DefineStateTypeEvent(type_t type);
+  void print() override;
+};
+
 class DefineEventTypeEvent : public PajeEvent  {
   type_t type;
-  public: 
+  public:
   DefineEventTypeEvent(type_t type);
   void print() override;
 };
@@ -159,7 +175,7 @@ class SubVariableEvent : public PajeEvent  {
   public:
   container_t container;
   type_t type;
-  double value; 
+  double value;
   public:
   SubVariableEvent(double timestamp, container_t container, type_t type, double value);
   void print() override;
@@ -421,11 +437,11 @@ extern instr_fmt_type_t instr_fmt_type;
 SG_END_DECL()
 
 void DefineContainerEvent(type_t type);
-void DefineVariableTypeEvent(type_t type);
-void DefineStateTypeEvent(type_t type);
-void DefineLinkTypeEvent(type_t type, type_t source, type_t dest);
-void DefineEntityValueEvent (val_t value);
-void CreateContainerEvent (container_t container);
-void DestroyContainerEvent (container_t container);
+void LogVariableTypeDefinition(type_t type);
+void LogStateTypeDefinition(type_t type);
+void LogLinkTypeDefinition(type_t type, type_t source, type_t dest);
+void LogEntityValue (val_t value);
+void LogContainerCreation (container_t container);
+void LogContainerDestruction (container_t container);
 
 #endif