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
SURF: Unify the types of models in a uniq s_surf_model_t (using an union) +reindent...
[simgrid.git]
/
src
/
simix
/
smx_host.c
diff --git
a/src/simix/smx_host.c
b/src/simix/smx_host.c
index
a9760f4
..
4b61c50
100644
(file)
--- a/
src/simix/smx_host.c
+++ b/
src/simix/smx_host.c
@@
-190,7
+190,7
@@
double SIMIX_host_get_speed(smx_host_t host)
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->extension
_public->
+ return (surf_workstation_model->extension
.workstation.
get_speed(host->simdata->host, 1.0));
}
@@
-204,7
+204,7
@@
double SIMIX_host_get_available_speed(smx_host_t host)
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->extension
_public->
+ return (surf_workstation_model->extension
.workstation.
get_available_speed(host->simdata->host));
}
@@
-250,7
+250,7
@@
int SIMIX_host_get_state(smx_host_t host)
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->extension
_public->
+ return (surf_workstation_model->extension
.workstation.
get_state(host->simdata->host));
}