reorg examples/simdag for better user experience + kill sd_test2 that brings nothing wrt the teshsuite
some extra cleanups in simdag examples
never ending cleanup of the simdag world + useless includes + useless WIN32 safeguard in CMakeLists + indent + hostify well, clean, clean, clean ...
sed -i -e 's/\t/ /g' [sources] Please people, stop using tabs
SimDag Revolution: SD_workstation becomes sg_host
change argument testing method (100% coverage)
Modify almost all SD tests. There is no need to free a structure allocated by SD_Simulate in user code.
Update copyright notices Only files with an existing SimGrid copyright header and that were already changed in 2015 were modified.
Don't try to change the rate of task once it's done, the new test in SD_task_set_rate raises a justified warn. Add a comment to warn readers that such a change must be done before the beginning of the execution of a task.
mv simdag/simdag.h simgrid/simdag.h
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.
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.
Fix a few memory leaks.
finally understand how the rate works. update the example and the tesh file accordingly.
As pointed out by a user, the rate should be expressed in percent, not in [0..1[. Thus change the .5 to 50 (divide the communication rate by two), update the "doc" and revalidate the tesh file
sed -i -e 's/\t/ /g' *.[ch] Please people, stop using tabs in your source
Remove unused variable.
add a new example that use SD_task_set_rate to throttle a communication