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
Compare file prefix only.
[simgrid.git]
/
src
/
surf
/
instr_surf.cpp
diff --git
a/src/surf/instr_surf.cpp
b/src/surf/instr_surf.cpp
index
4d45aa1
..
d82ef1b
100644
(file)
--- a/
src/surf/instr_surf.cpp
+++ b/
src/surf/instr_surf.cpp
@@
-13,8
+13,8
@@
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
);
- new SetVariableEvent(date, container, type, speed);
+
simgrid::instr::Type* type = PJ_type_get("power", container->type_
);
+ new
simgrid::instr::
SetVariableEvent(date, container, type, speed);
}
}
@@
-22,8
+22,8
@@
void TRACE_surf_link_set_bandwidth(double date, const char *resource, double ban
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) {
container_t container = PJ_container_get(resource);
-
type_t type = PJ_type_get ("bandwidth", container->type
);
- new SetVariableEvent(date, container, type, bandwidth);
+
simgrid::instr::Type* type = PJ_type_get("bandwidth", container->type_
);
+ new
simgrid::instr::
SetVariableEvent(date, container, type, bandwidth);
}
}