SimGrid
3.21
Versatile Simulation of Distributed Systems
|
Find the MSG example fitting your needs from the extensive set provided in the archive.
Tracing can be activated by various configuration options which are illustrated in these example. See also the full list of options related to tracing.
It is interesting to run the process-create example with the following options to see the task executions:
--cfg=tracing:yes --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes
--cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes
-cfg=tracing:yes --cfg=tracing/msg/process:yes
TODO: These tracing examples should be integrated in the examples to not duplicate the C files. A full command line to see the result in the right tool (vite/FrameSoc) should be given along with some screenshots.
You can also attach your own variables to a any resource described in the platform file. The following examples illustrate this feature. They have to be run with the following options:
--cfg=tracing:yes --cfg=tracing/platform:yes
This example demonstrates how to use the bindings to the Network Simulator, as explained in ns-3 as a SimGrid model. The most interesting is probably not the C files since they are unchanged from the other simulations, but the associated files, such as the platform file to see how to declare a platform to be used with the ns-3 bindings of SimGrid and the tesh file to see how to actually start a simulation in these settings.
TODO: merge the C files
TODO: show the XML files instead if it's what is interesting. On a "XML example files" page that does not exist yet.