extern std::ofstream tracing_file;
-std::vector<simgrid::instr::PajeEvent*> buffer;
+static std::vector<simgrid::instr::PajeEvent*> buffer;
void dump_comment(std::string comment)
{
/* internal do the instrumentation module */
void simgrid::instr::PajeEvent::insert_into_buffer()
{
- if (not TRACE_buffer()) {
- print();
- delete this;
- return;
- }
buffer_debug(&buffer);
XBT_DEBUG("%s: insert event_type=%u, timestamp=%f, buffersize=%zu)", __func__, eventType_, timestamp_, buffer.size());