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
rename a test in order to easily select it
[simgrid.git]
/
src
/
simix
/
libsmx.c
diff --git
a/src/simix/libsmx.c
b/src/simix/libsmx.c
index
36f75fd
..
0e63140
100644
(file)
--- a/
src/simix/libsmx.c
+++ b/
src/simix/libsmx.c
@@
-224,6
+224,19
@@
double simcall_host_get_consumed_energy(smx_host_t host)
{
return simcall_BODY_host_get_consumed_energy(host);
}
+/** \ingroup simix_host_management
+ * \brief Returns the amount of watt dissipated at the given pstate when the host is idling
+ */
+double simcall_host_get_wattmin_at(msg_host_t host, int pstate){
+ return simcall_BODY_host_get_wattmin_at(host, pstate);
+}
+/** \ingroup simix_host_management
+ * \brief Returns the amount of watt dissipated at the given pstate when the host burns CPU at 100%
+ */
+double simcall_host_get_wattmax_at(msg_host_t host, int pstate){
+ return simcall_BODY_host_get_wattmax_at(host, pstate);
+}
+
/**