[simix] Switch to .cpp files
[simix] Fix signatures of callbacks (timer and kill_process_function) * Conversion between pointer-to-pointer and pointer to data is undefined behaviour. * Moreover, this hides error. The kill_process_function was called in the timer with only one argument whreas it expects two arguments (the killed process and the killer process). * Simpligy the signature of SIMIX_function_register_process_kill() to only take a single argument. The second one is never used.
Prefer the C-ish sg_host_get_name() over sg_host_name() Both were defined, for some reason
inline another getter simcall: host_get_nb_pstates
inline two more simcalls: host_get_pstate and host_get_consumed_energy
inline two more getter simcalls: host_get_core and host_get_state
Kill two getter simcalls, and replace them by (almost) direct calls to surf
Kill an unused simcall: host_get_name
Reduce the amount of implicit include directories This is intrusive to quite a lot of files, but I think that it helps making the source code more explicit about what's public and what's not.
uniformize simcall_comm_send() and simcall_comm_recv() Recv now takes the receiver as first argument, and it should be able to receive on a remote process. I tried to remove the sender argument out of send(), but it's used in SMPI when using RMA and I don't want to dig into it today.
rename simcall process_change_host -> process_set_host
Update copyright notices Only files with an existing SimGrid copyright header and that were already changed in 2015 were modified.
various fixups to the surf documentation Much more would be needed, as usual :-(
Simplify the process_execute simcall Don't pass the host on which it has to run, as everybody pass SIMIX_process_self(). Get the inner layers guess that themselves. (also move a bunch of simcalls in the definition file. Sorry for the noise)
massive rename of simcalls: execution is related to a process, not to an host
New function: simcall_process_get_kill_time()
sanitize the process_create simcall It was receiving a pointer to its result as first parameter, and it now simply returns that result. It could be further improved by returning a smx_process_t instead of a void*, but our simcall mechanism does not seem to allow to cast results.
cosmetics and documentation around VM parameters
kill simcall_host_get_by_name: nobody uses it anyway
Give simgrid's host its own header file and datatype This is one step further toward SGpp, the C++ version of SimGrid.