static int pajeSubVariableId = 24;
static int pajeDefineVariableTypeId = 25;
static int pajeStartLinkWithVolumeId = 26;
+static int pajeNewEventId = 27;
#define TRACE_LINE_SIZE 1000
%% SourceContainer string \n\
%% Key string \n\
%% Volume string \n\
+%%EndEventDef\n\
+%%EventDef PajeNewEvent %d \n\
+%% Time date \n\
+%% EntityType string \n\
+%% Container string \n\
+%% Value string \n\
%%EndEventDef\n",
pajeDefineContainerTypeId, pajeDefineStateTypeId, pajeDefineEntityValueId,
pajeDefineEventTypeId, pajeDefineLinkTypeId, pajeCreateContainerId,
pajeAddVariableId,
pajeSubVariableId,
pajeDefineVariableTypeId,
- pajeStartLinkWithVolumeId);
+ pajeStartLinkWithVolumeId,
+ pajeNewEventId);
}
/* internal to this file */
fprintf(tracing_file, "%s\n", line);
}
+void pajeNewEvent (double time, const char *entityType, const char *container, const char *value)
+{
+ fprintf(tracing_file, "%d %.15lf %s %s %s\n", pajeNewEventId, time, entityType, container, value);
+}
+
#endif
void pajeSetVariable (double time, const char *entityType, const char *container, const char *value);
void pajeAddVariable (double time, const char *entityType, const char *container, const char *value);
void pajeSubVariable (double time, const char *entityType, const char *container, const char *value);
+void pajeNewEvent (double time, const char *entityType, const char *container, const char *value);
/* from general.c */
char *TRACE_paje_msg_container (m_task_t task, char *host, char *output, int len);