Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
twitching and tweaking
[simgrid.git] / src / instr / instr_paje_types.hpp
index 8306af0..c8c7a4c 100644 (file)
@@ -56,7 +56,7 @@ public:
 
 class ContainerType : public Type {
 public:
-  ContainerType(std::string name) : Type(name, name, "", nullptr){};
+  explicit ContainerType(std::string name) : Type(name, name, "", nullptr){};
   ContainerType(std::string name, Type* father);
 };
 
@@ -85,6 +85,12 @@ public:
 class LinkType : public ValueType {
 public:
   LinkType(std::string name, std::string alias, Type* father);
+  void startEvent(double timestamp, Container* source_container, Container* sourceContainer, std::string value,
+                  std::string key);
+  void startEvent(double timestamp, Container* source_container, Container* sourceContainer, std::string value,
+                  std::string key, int size);
+  void endEvent(double timestamp, Container* source_container, Container* destContainer, std::string value,
+                std::string key);
 };
 
 class EventType : public ValueType {