-/* 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 */
extern FILE * tracing_file;
extern s_instr_trace_writer_t active_writer;
-extern xbt_dynar_t buffer;
void TRACE_paje_init(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);
}