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
Also remove the const markers of parameters in the function implementation, not only...
[simgrid.git]
/
src
/
simix
/
smx_host.c
diff --git
a/src/simix/smx_host.c
b/src/simix/smx_host.c
index
7367c49
..
c532b2a
100644
(file)
--- a/
src/simix/smx_host.c
+++ b/
src/simix/smx_host.c
@@
-169,7
+169,7
@@
double SIMIX_host_get_speed(smx_host_t host)
{
xbt_assert0((host != NULL), "Invalid parameters");
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_
resource
->
+ return (surf_workstation_
model
->
extension_public->get_speed(host->simdata->host, 1.0));
}
extension_public->get_speed(host->simdata->host, 1.0));
}
@@
-183,7
+183,7
@@
double SIMIX_host_get_available_speed(smx_host_t host)
{
xbt_assert0((host != NULL), "Invalid parameters");
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_
resource
->
+ return (surf_workstation_
model
->
extension_public->get_available_speed(host->simdata->host));
}
extension_public->get_available_speed(host->simdata->host));
}
@@
-221,7
+221,7
@@
int SIMIX_host_get_state(smx_host_t host)
{
xbt_assert0((host != NULL), "Invalid parameters");
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_
resource
->
+ return (surf_workstation_
model
->
extension_public->get_state(host->simdata->host));
}
extension_public->get_state(host->simdata->host));
}