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
[mc] Cleanup mc_hash
[simgrid.git]
/
src
/
surf
/
cpu_interface.hpp
diff --git
a/src/surf/cpu_interface.hpp
b/src/surf/cpu_interface.hpp
index
7e7ff09
..
a2dd954
100644
(file)
--- a/
src/surf/cpu_interface.hpp
+++ b/
src/surf/cpu_interface.hpp
@@
-105,7
+105,7
@@
public:
/** @ingroup SURF_cpu_interface
* @brief SURF cpu resource interface class
/** @ingroup SURF_cpu_interface
* @brief SURF cpu resource interface class
-* @details A Cpu represent a cpu associated to a
workstation
+* @details A Cpu represent a cpu associated to a
host
*/
XBT_PUBLIC_CLASS Cpu : public Resource {
public:
*/
XBT_PUBLIC_CLASS Cpu : public Resource {
public:
@@
-200,6
+200,7
@@
public:
virtual int getNbPstates()=0;
virtual void setPstate(int pstate_index)=0;
virtual int getNbPstates()=0;
virtual void setPstate(int pstate_index)=0;
+ virtual int getPstate()=0;
void setState(e_surf_resource_state_t state);
void setState(e_surf_resource_state_t state);
@@
-222,7
+223,7
@@
public:
* @details A CpuAction represent the execution of code on a Cpu
*/
XBT_PUBLIC_CLASS CpuAction : public Action {
* @details A CpuAction represent the execution of code on a Cpu
*/
XBT_PUBLIC_CLASS CpuAction : public Action {
-friend
CpuPtr
getActionCpu(CpuActionPtr action);
+friend
XBT_PUBLIC(CpuPtr)
getActionCpu(CpuActionPtr action);
public:
/**
* @brief CpuAction constructor
public:
/**
* @brief CpuAction constructor