/* prevent 0.0000 in the trace - this was the behavior before the transition to c++ */
if (event->timestamp < 1e-12)
stream << 0;
- else
+ else
stream << event->timestamp;
- }
+ }
/* internal do the instrumentation module */
static void insert_into_buffer (PajeEvent* tbi)
void LogStateTypeDefinition(type_t type)
{
-
- XBT_DEBUG("%s: event_type=%d", __FUNCTION__, PAJE_DefineStateType);
-
//print it
if (instr_fmt_type == instr_fmt_paje) {
XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, PAJE_DefineStateType, TRACE_precision(), 0.);
XBT_DEBUG("%s: event_type=%d", __FUNCTION__, PAJE_DefineEntityValue);
//print it
if (instr_fmt_type == instr_fmt_paje) {
- XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, PAJE_DefineEntityValue, TRACE_precision(),0.);
stream << std::fixed << std::setprecision(TRACE_precision());
stream << PAJE_DefineEntityValue;
stream << " " << value->id << " " << value->father->id << " " << value->name;
XBT_DEBUG("%s: event_type=%d, timestamp=%f", __FUNCTION__, PAJE_CreateContainer,timestamp);
if (instr_fmt_type == instr_fmt_paje) {
- XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, PAJE_CreateContainer, TRACE_precision(), timestamp);
stream << std::fixed << std::setprecision(TRACE_precision());
stream << PAJE_CreateContainer;
stream << " ";
XBT_DEBUG("%s: event_type=%d, timestamp=%f", __FUNCTION__, PAJE_DestroyContainer, timestamp);
if (instr_fmt_type == instr_fmt_paje) {
- XBT_DEBUG("%s: event_type=%d, timestamp=%.*f", __FUNCTION__, PAJE_DestroyContainer, TRACE_precision(), timestamp);
stream << std::fixed << std::setprecision(TRACE_precision());
stream << PAJE_DestroyContainer;
stream << " ";