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
[trace] cosmetics and removing unused static variable
[simgrid.git]
/
src
/
instr
/
instr_surf.c
diff --git
a/src/instr/instr_surf.c
b/src/instr/instr_surf.c
index
f3fe658
..
87e0911
100644
(file)
--- a/
src/instr/instr_surf.c
+++ b/
src/instr/instr_surf.c
@@
-11,12
+11,8
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
-static xbt_dict_t resource_variables; /* (host|link)#variable -> value */
-
void TRACE_surf_alloc(void)
{
void TRACE_surf_alloc(void)
{
- resource_variables = xbt_dict_new();
-
TRACE_surf_resource_utilization_alloc();
}
TRACE_surf_resource_utilization_alloc();
}
@@
-36,8
+32,7
@@
static void TRACE_surf_set_resource_variable(double date,
pajeSetVariable(date, variable, resource, value_str);
}
pajeSetVariable(date, variable, resource, value_str);
}
-void TRACE_surf_host_set_power(double date, const char *resource,
- double power)
+void TRACE_surf_host_set_power(double date, const char *resource, double power)
{
if (!TRACE_is_active())
return;
{
if (!TRACE_is_active())
return;