Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
refine code around model types and objects
authorTakahiro Hirofuchi <t.hirofuchi+sg@aist.go.jp>
Fri, 15 Feb 2013 11:51:53 +0000 (12:51 +0100)
committerTakahiro Hirofuchi <t.hirofuchi+sg@aist.go.jp>
Fri, 15 Feb 2013 12:59:04 +0000 (13:59 +0100)
commit439b21daa6b4ae15a9ae7d581e966aa4511fbd20
tree32483dd4a8aa4093af92bfdb6c02d86b4ed6fb6e
parentd88a07362ad9bf21e7297c5f4e41806a2f56a167
refine code around model types and objects

The model_type member of an action object is renamed model_obj. This
change makes it clear that this member points to a surf model objet, not
the type of a model.

The model type member is added to a surf model object. This allows us to
know what type a model object is and what extension field is accessible.
18 files changed:
src/include/surf/surf.h
src/simix/smx_io.c
src/simix/smx_network.c
src/simix/smx_new_api.c
src/simix/smx_process.c
src/simix/smx_synchro.c
src/surf/cpu_cas01.c
src/surf/cpu_ti.c
src/surf/network.c
src/surf/network_gtnets.c
src/surf/network_ns3.c
src/surf/new_model.c
src/surf/storage.c
src/surf/surf_action.c
src/surf/vm_workstation.c
src/surf/workstation.c
src/surf/workstation_ptask_L07.c
testsuite/surf/surf_usage.c