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
bypass simix in simcall to surf::Cpu::setPState
[simgrid.git]
/
src
/
surf
/
surf_c_bindings.cpp
diff --git
a/src/surf/surf_c_bindings.cpp
b/src/surf/surf_c_bindings.cpp
index
a683814
..
d1907c6
100644
(file)
--- a/
src/surf/surf_c_bindings.cpp
+++ b/
src/surf/surf_c_bindings.cpp
@@
-267,10
+267,6
@@
double surf_host_get_power_peak_at(sg_host_t host, int pstate_index){
return host->p_cpu->getPowerPeakAt(pstate_index);
}
-void surf_host_set_pstate(sg_host_t host, int pstate_index){
- host->p_cpu->setPState(pstate_index);
-}
-
using simgrid::energy::HostEnergy;
using simgrid::energy::surf_energy;