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
New API: set_pstate_speed
[simgrid.git]
/
src
/
surf
/
cpu_interface.hpp
diff --git
a/src/surf/cpu_interface.hpp
b/src/surf/cpu_interface.hpp
index
5ff2d29
..
03dffc6
100644
(file)
--- a/
src/surf/cpu_interface.hpp
+++ b/
src/surf/cpu_interface.hpp
@@
-105,6
+105,13
@@
public:
*/
virtual Cpu* set_speed_profile(profile::Profile* profile);
*/
virtual Cpu* set_speed_profile(profile::Profile* profile);
+ /**
+ * @brief Set the CPU's speed
+ *
+ * @param speed_per_state list of powers for this processor (default power is at index 0)
+ */
+ Cpu* set_pstate_speed(const std::vector<double>& speed_per_state);
+
/**
* @brief Execute some quantity of computation
*
/**
* @brief Execute some quantity of computation
*