#include "src/surf/surf_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_events, instr, "Paje tracing event system (events)");
#include "src/surf/surf_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_events, instr, "Paje tracing event system (events)");
: PajeEvent::PajeEvent(container, type, SIMIX_get_clock(), event_type), value(value), extra_(extra)
{
#if HAVE_SMPI
: PajeEvent::PajeEvent(container, type, SIMIX_get_clock(), event_type), value(value), extra_(extra)
{
#if HAVE_SMPI
smpi_trace_call_location_t* loc = smpi_trace_get_call_location();
filename = loc->filename;
linenumber = loc->linenumber;
smpi_trace_call_location_t* loc = smpi_trace_get_call_location();
filename = loc->filename;
linenumber = loc->linenumber;
stream_ << " " << value->getId();
XBT_DEBUG("Dump %s", stream_.str().c_str());
stream_ << " " << value->getId();
XBT_DEBUG("Dump %s", stream_.str().c_str());
stream_ << " \"" << filename << "\" " << linenumber;
}
#endif
XBT_DEBUG("Dump %s", stream_.str().c_str());
stream_ << " \"" << filename << "\" " << linenumber;
}
#endif
XBT_DEBUG("Dump %s", stream_.str().c_str());