X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f07a5a6873fe49b411ace45de96adfbef8cb41a..6812a09d4989db854967f0d7ff81a5e06d89e868:/src/instr/instr_paje_trace.cpp diff --git a/src/instr/instr_paje_trace.cpp b/src/instr/instr_paje_trace.cpp index f880887903..601517d19c 100644 --- a/src/instr/instr_paje_trace.cpp +++ b/src/instr/instr_paje_trace.cpp @@ -68,20 +68,6 @@ void TRACE_paje_dump_buffer(bool force) XBT_DEBUG("%s: ends", __func__); } -static void buffer_debug(std::vector* buf) -{ - if (not XBT_LOG_ISENABLED(instr_paje_trace, xbt_log_priority_debug)) - return; - XBT_DEBUG(">>>>>> Dump the state of the buffer. %zu events", buf->size()); - for (auto const& event : *buf) { - event->print(); - XBT_DEBUG("%p %s", event, event->stream_.str().c_str()); - event->stream_.str(""); - event->stream_.clear(); - } - XBT_DEBUG("<<<<<<"); -} - /* internal do the instrumentation module */ void simgrid::instr::PajeEvent::insert_into_buffer() {