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
Update warning message.
[simgrid.git]
/
src
/
s4u
/
s4u_Host.cpp
diff --git
a/src/s4u/s4u_Host.cpp
b/src/s4u/s4u_Host.cpp
index b9a3b7a93f723f09d4ad75b5ad0968d6e95ec3c8..e3f77fa63be19bb5654fa7409182ae3fad54cec2 100644
(file)
--- a/
src/s4u/s4u_Host.cpp
+++ b/
src/s4u/s4u_Host.cpp
@@
-321,7
+321,7
@@
Host* Host::set_pstate(unsigned long pstate_index)
}
/** @brief Retrieve the pstate at which the host is currently running */
}
/** @brief Retrieve the pstate at which the host is currently running */
-
int
Host::get_pstate() const
+
unsigned long
Host::get_pstate() const
{
return this->pimpl_cpu_->get_pstate();
}
{
return this->pimpl_cpu_->get_pstate();
}
@@
-513,7
+513,7
@@
double sg_host_speed(const_sg_host_t host) // XBT_ATTRIB_DEPRECATED_v330
* @param pstate_index pstate to test
* @return Returns the processor speed associated with pstate_index
*/
* @param pstate_index pstate to test
* @return Returns the processor speed associated with pstate_index
*/
-double sg_host_get_pstate_speed(const_sg_host_t host,
int
pstate_index)
+double sg_host_get_pstate_speed(const_sg_host_t host,
unsigned long
pstate_index)
{
return host->get_pstate_speed(pstate_index);
}
{
return host->get_pstate_speed(pstate_index);
}