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
[surf] Use the pointers to simgrid::Host instead of looking by name
[simgrid.git]
/
src
/
surf
/
instr_surf.c
diff --git
a/src/surf/instr_surf.c
b/src/surf/instr_surf.c
index
1cf1af9
..
b0003d6
100644
(file)
--- a/
src/surf/instr_surf.c
+++ b/
src/surf/instr_surf.c
@@
-19,12
+19,12
@@
void TRACE_surf_release(void)
TRACE_surf_resource_utilization_release();
}
TRACE_surf_resource_utilization_release();
}
-void TRACE_surf_host_set_
power(double date, const char *resource, double power
)
+void TRACE_surf_host_set_
speed(double date, const char *resource, double speed
)
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
container_t container = PJ_container_get(resource);
type_t type = PJ_type_get ("power", container->type);
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
container_t container = PJ_container_get(resource);
type_t type = PJ_type_get ("power", container->type);
- new_pajeSetVariable(date, container, type,
power
);
+ new_pajeSetVariable(date, container, type,
speed
);
}
}
}
}