A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add FIXME.
[simgrid.git]
/
src
/
instr
/
instr_trace.c
diff --git
a/src/instr/instr_trace.c
b/src/instr/instr_trace.c
index
e37756a
..
8481697
100644
(file)
--- a/
src/instr/instr_trace.c
+++ b/
src/instr/instr_trace.c
@@
-1,8
+1,8
@@
-/* Copyright (c) 2010-201
3
. The SimGrid Team.
+/* Copyright (c) 2010-201
4
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* 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 */
#include "instr/instr_private.h"
#include "xbt/virtu.h" /* sg_cmdline */
@@
-27,8
+27,6
@@
s_instr_trace_writer_t active_writer = {
print_NULL, print_NULL
};
print_NULL, print_NULL
};
-
-
xbt_dynar_t buffer = NULL;
void dump_comment (const char *comment)
xbt_dynar_t buffer = NULL;
void dump_comment (const char *comment)
@@
-59,12
+57,14
@@
void dump_comment_file (const char *filename)
fclose(file);
}
fclose(file);
}
-void TRACE_init(){
- buffer = xbt_dynar_new(sizeof(paje_event_t), NULL);
+void TRACE_init()
+{
+ buffer = xbt_dynar_new(sizeof(paje_event_t), NULL);
}
}
-void TRACE_finalize(){
- if (buffer) xbt_dynar_free(&buffer);
+void TRACE_finalize()
+{
+ xbt_dynar_free(&buffer);
}
double TRACE_last_timestamp_to_dump = 0;
}
double TRACE_last_timestamp_to_dump = 0;