Move surf testsuite to teshsuite
Add/update copyright notices. All source files (C, C++, Java, Fortran, Perl, Ruby, Lua, Python, Sh) should be updated by this commit. Note however that the following directories (and their subdirectories) were not considered: ./buildtools/jenkins/ ./buildtools/pipol/ ./examples/smpi/NAS/ ./teshsuite/smpi/mpich3-test/ Use: git grep -L 'Copyright.*SimGrid' to list the files remaining without copyright notice.
Replace swag by boost::intrusive::list in surf
Merge branch 'hypervisor' into surf++ Conflicts: .cproject buildtools/Cmake/DefinePackages.cmake src/include/surf/surf.h src/simix/smx_global.c src/simix/smx_host.c src/simix/smx_host_private.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_smurf_private.h src/simix/smx_synchro.c src/surf/cpu_cas01.c src/surf/cpu_cas01_private.h src/surf/cpu_ti.c src/surf/network.c src/surf/network_constant.c src/surf/network_gtnets.c src/surf/new_model.c src/surf/storage.c src/surf/surf.c src/surf/surf_action.c src/surf/surf_private.h src/surf/workstation.c testsuite/surf/surf_usage.c
Merge tag 'v3_9_90' into hypervisor Conflicts: include/msg/msg.h include/simgrid/simix.h src/include/surf/surf.h src/msg/msg_global.c src/msg/msg_host.c src/msg/msg_private.h src/msg/msg_process.c src/simix/smx_host.c src/simix/smx_host_private.h src/simix/smx_smurf_private.h src/surf/cpu_cas01.c src/surf/cpu_cas01_private.h src/surf/cpu_ti.c src/surf/surf.c src/surf/workstation.c
Merge commit '045db1657e870c721be490b411868f4181a12ced' into surf++ Conflicts: buildtools/Cmake/DefinePackages.cmake src/include/surf/datatypes.h src/include/surf/surf.h src/simgrid/sg_config.c src/simix/smx_io.c src/simix/smx_smurf_private.h src/surf/cpu_cas01.c src/surf/cpu_ti.c src/surf/network.c src/surf/network_constant.c src/surf/network_gtnets.c src/surf/new_model.c src/surf/storage.c src/surf/storage_private.h src/surf/surf.c src/surf/surf_action.c src/surf/surf_model.c src/surf/surf_routing.cpp src/surf/surf_routing_cluster.c src/surf/surf_routing_floyd.cpp src/surf/surf_routing_full.cpp src/surf/surf_routing_none.c src/surf/surf_routing_vivaldi.c src/surf/workstation.c src/surf/workstation_ptask_L07.c
Fix msg-start-kill-time
Fix surf_usage
Replace surf by surf++ and make it compile
Dig through git history, and update copyright lines. Note that: * only existing lines are updated * dates already written were kept * missing dates were found with "git log --format=%ad" Adding a copyright notice to files where it's missing is left as an exercise to the reader.
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.
add two cpu model objects for physical and virtual We delete surf_cpu_model, which was only one cpu model object on the system. Now, we add surf_cpu_model_pm and surf_cpu_model_vm for the physical and virtual machine layers, respectively. FIXME: cpu_ti will not work correctly because using global variables. We have to update cpu_ti to support multiple cpu model objects.
Move config from surf to simgrid
[route parsing] make surf_network_resource_by_name public under name sg_routing_edge_by_name_or_null * This function existed already, but were almost never used, its content being inlined in ways too much location. * Use that function were relevant. That's much cleaner this way. * Making it public is one step further to the C interface for routing creation interface (drop in to XML)
Fix surf_storage execution
Now call communicate and get_route with void* and not char*. This optim remove call to xbt_lib_get_or_null from simulation and do the job into the parse time.
further parser cleanups - kill some dead code related to the old lua console - do not load a header at the *end* of another header - solve some header inclusion madness created in this process
stop messing with the surf internals from the test suite, so that these internals can be modified
Nobody cares about this argument since maybe 4 years (when we managed to parse the platf in one pass only), so kill the extra complexity
Remove unused variables. Remove variables that are obviously not used. Caught with gcc 4.6 and -Wunused-but-set-variable.