static void __pajeCreateContainer (char *output, int len, int eventid, double time, const char *alias, const char *type,
const char *container, const char *name)
{
- snprintf (output, len, "%d %.15lf %s %s %s %s", eventid, time,
+ snprintf (output, len, "%d %lf %s %s %s %s", eventid, time,
alias, type, container, name);
}
static void __pajeSetState (char *output, int len, int eventid, double time, const char *entityType, const char *container, const char *value)
{
- snprintf (output, len, "%d %.15lf %s %s %s", eventid, time, entityType, container, value);
+ snprintf (output, len, "%d %lf %s %s %s", eventid, time, entityType, container, value);
}
static void __pajeSetVariable (char *output, int len, int eventid, double time, const char *entityType, const char *container, const char *value)
{
- snprintf (output, len, "%d %.15lf %s %s %s", eventid, time, entityType, container, value);
+ snprintf (output, len, "%d %lf %s %s %s", eventid, time, entityType, container, value);
}
static void __pajeStartLink (char *output, int len, int eventid, double time, const char *entityType, const char *container, const char *value,
const char *sourceContainer, const char *key)
{
- snprintf(output, len, "%d %.15lf %s %s %s %s %s", eventid, time, entityType, container, value, sourceContainer, key);
+ snprintf(output, len, "%d %lf %s %s %s %s %s", eventid, time, entityType, container, value, sourceContainer, key);
}
/* internal do the instrumentation module */
void pajeDestroyContainer (double time, const char *type, const char *container)
{
- fprintf(tracing_file, "%d %.15lf %s %s\n", pajeDestroyContainerId, time, type, container);
+ fprintf(tracing_file, "%d %lf %s %s\n", pajeDestroyContainerId, time, type, container);
}
void pajeSetState (double time, const char *entityType, const char *container, const char *value)
void pajePopState (double time, const char *entityType, const char *container)
{
- fprintf(tracing_file, "%d %.15lf %s %s\n", pajePopStateId, time, entityType, container);
+ fprintf(tracing_file, "%d %lf %s %s\n", pajePopStateId, time, entityType, container);
}
void pajeStartLink (double time, const char *entityType, const char *container, const char *value,
void pajeEndLink (double time, const char *entityType, const char *container, const char *value,
const char *destContainer, const char *key)
{
- fprintf(tracing_file, "%d %.15lf %s %s %s %s %s\n", pajeEndLinkId, time, entityType, container, value, destContainer, key);
+ fprintf(tracing_file, "%d %lf %s %s %s %s %s\n", pajeEndLinkId, time, entityType, container, value, destContainer, key);
}
void pajeDefineVariableType(const char *alias, const char *containerType, const char *name) {
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);
+ fprintf(tracing_file, "%d %lf %s %s %s\n", pajeNewEventId, time, entityType, container, value);
}
#endif