X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da6a8948438ab0798f492ed7bf5dad2a515ca04e..d6a677eea07bbb917ebf8aef3d281f37049c5254:/src/instr/instr_private.h diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index 9b3d7a8c9d..658663e469 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -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,10 +125,19 @@ class PajeEvent { //-------------------------------------------------- -class DefineEventTypeEvent : public PajeEvent { +class DefineVariableTypeEvent : public PajeEvent +{ + public: + type_t type; + DefineVariableTypeEvent(type_t type); + void print() override; +}; +//-------------------------------------------------- + +class DefineStateTypeEvent : public PajeEvent { type_t type; - public: - DefineEventTypeEvent(type_t type); + public: + DefineStateTypeEvent(type_t type); void print() override; }; @@ -159,7 +168,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 +430,12 @@ 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); +void LogDefineEventType(type_t type); #endif