X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/92959d5b26387e5194b1bb4553baf90da7701f41..917aef7fa18957ea33a3cd78ab61b5837b5e1663:/src/instr/instr_paje_trace.c diff --git a/src/instr/instr_paje_trace.c b/src/instr/instr_paje_trace.c index 91bfb95931..e99bb30572 100644 --- a/src/instr/instr_paje_trace.c +++ b/src/instr/instr_paje_trace.c @@ -1,8 +1,8 @@ -/* Copyright (c) 2010-2013. The SimGrid Team. +/* Copyright (c) 2010-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #include "instr/instr_private.h" #include "xbt/virtu.h" /* sg_cmdline */ @@ -11,7 +11,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_paje_trace, instr_trace, "tracing event sy extern FILE * tracing_file; extern s_instr_trace_writer_t active_writer; -extern xbt_dynar_t buffer; void TRACE_paje_init(void) @@ -65,14 +64,12 @@ void TRACE_paje_start(void) /* output header */ TRACE_header(TRACE_basic(),TRACE_display_sizes()); - buffer = xbt_dynar_new (sizeof(paje_event_t), NULL); } void TRACE_paje_end(void) { fclose(tracing_file); char *filename = TRACE_get_filename(); - xbt_dynar_free (&buffer); XBT_DEBUG("Filename %s is closed", filename); }