Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I think I now better understand the surf internals: each resource can be *either...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 27 Oct 2007 07:34:39 +0000 (07:34 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 27 Oct 2007 07:34:39 +0000 (07:34 +0000)
commit1e56742544f7195c4cc0525569d610b0ba0e3d8c
treea3eac71c5d05b0f6990bbd2b2a19ec744e26088b
parent294430954d6bdfd2bdf43fcc49fde087be1474c6
I think I now better understand the surf internals: each resource can be *either* a cpu or a link, so we can merge all the get_??_properties into only one method. No object will need both of them. This could be further improved by moving this to a function in surf directly instead of leaving this in models, but it would be the first attribute being handled that way, so I prefer keeping the pseudo object philosophy in place in surf

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4895 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/include/surf/surf.h
src/simdag/sd_link.c
src/simdag/sd_workstation.c
src/simix/smx_host.c
src/surf/cpu.c
src/surf/network.c
src/surf/network_gtnets.c
src/surf/workstation.c
src/surf/workstation_KCCFLN05.c
src/surf/workstation_ptask_L07.c