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
renaming the tracing functions that set the host/link utilization
[simgrid.git]
/
src
/
instr
/
interface.c
diff --git
a/src/instr/interface.c
b/src/instr/interface.c
index
55024ba
..
64a2445
100644
(file)
--- a/
src/instr/interface.c
+++ b/
src/instr/interface.c
@@
-17,7
+17,6
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(tracing,"Tracing Interface");
XBT_LOG_NEW_DEFAULT_CATEGORY(tracing,"Tracing Interface");
-extern xbt_dict_t created_containers; /* declared in general.c */
static xbt_dict_t defined_types;
static xbt_dict_t created_categories;
static xbt_dict_t defined_types;
static xbt_dict_t created_categories;
@@
-104,7
+103,6
@@
int TRACE_start_with_mask(const char *filename, int mask) {
if (IS_TRACING_PLATFORM) pajeCreateContainer(MSG_get_clock(), "platform", "PLATFORM", "0", "simgrid-platform");
if (IS_TRACING_PLATFORM) pajeCreateContainer(MSG_get_clock(), "platform", "PLATFORM", "0", "simgrid-platform");
- created_containers = xbt_dict_new();
defined_types = xbt_dict_new();
created_categories = xbt_dict_new();
__TRACE_msg_init();
defined_types = xbt_dict_new();
created_categories = xbt_dict_new();
__TRACE_msg_init();
@@
-160,7
+158,7
@@
void TRACE_define_type (const char *type,
int TRACE_create_category (const char *category,
const char *type, const char *parent_category)
{
int TRACE_create_category (const char *category,
const char *type, const char *parent_category)
{
- if (!IS_TRACING) return;
+ if (!IS_TRACING) return
1
;
//check if type is defined
if (!xbt_dict_get_or_null (defined_types, type)) {
//check if type is defined
if (!xbt_dict_get_or_null (defined_types, type)) {