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
Simplify the code taking Cpu::m_speedPeak changes into account
[simgrid.git]
/
src
/
surf
/
instr_surf.c
diff --git
a/src/surf/instr_surf.c
b/src/surf/instr_surf.c
index
880e503
..
b0003d6
100644
(file)
--- a/
src/surf/instr_surf.c
+++ b/
src/surf/instr_surf.c
@@
-4,8
+4,8
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "instr/instr_private.h"
-#include "surf/surf_private.h"
+#include "
src/
instr/instr_private.h"
+#include "s
rc/s
urf/surf_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_surf, instr, "Tracing Surf");
@@
-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
);
}
}
}
}