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
Borland uses the thread implementation of the contextes
[simgrid.git]
/
src
/
surf
/
trace_mgr.c
diff --git
a/src/surf/trace_mgr.c
b/src/surf/trace_mgr.c
index
25545f9
..
f8745e9
100644
(file)
--- a/
src/surf/trace_mgr.c
+++ b/
src/surf/trace_mgr.c
@@
-6,14
+6,10
@@
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
-#include "xbt/
error
.h"
+#include "xbt/
log
.h"
#include "xbt/dict.h"
#include "trace_mgr_private.h"
#include "surf_private.h"
#include "xbt/dict.h"
#include "trace_mgr_private.h"
#include "surf_private.h"
-#include <stdlib.h>
-
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(trace, surf,
- "Logging specific to the SURF trace module");
static xbt_dict_t trace_list = NULL;
static void _tmgr_trace_free(void *trace)
static xbt_dict_t trace_list = NULL;
static void _tmgr_trace_free(void *trace)
@@
-27,7
+23,7
@@
tmgr_history_t tmgr_history_new(void)
h = xbt_new0(s_tmgr_history_t, 1);
h = xbt_new0(s_tmgr_history_t, 1);
- h->heap = xbt_heap_new(8,
free);
/* Why 8 ? Well, why not... */
+ h->heap = xbt_heap_new(8,
xbt_free_f);
/* Why 8 ? Well, why not... */
return h;
}
return h;
}