From: Martin Quinson Date: Thu, 19 May 2016 07:28:58 +0000 (+0200) Subject: doc: move the 'find an XML example' part into the platform page X-Git-Tag: v3_14~1208 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0e874da314e24d3b4c1a59788d83507210cae1cb?hp=1555391de700f5bafbbcf3bde5fbe425ff7469ef doc: move the 'find an XML example' part into the platform page --- diff --git a/doc/doxygen/platform.doc b/doc/doxygen/platform.doc index d8233b51a5..1d8d5533d5 100644 --- a/doc/doxygen/platform.doc +++ b/doc/doxygen/platform.doc @@ -1656,6 +1656,22 @@ are some best practices you should pay attention to in order to produce good platform and some choices you can make in order to have faster simulations. Here's some hints and tips, then. +@subsection Finding the platform example that you need + +Most platform files that we ship are in the @c examples/platforms +folder. The good old @c grep tool can find the examples you need when +wondering on a specific XML tag. Here is an example session searching +for @ref pf_trace "trace_connect": + +@verbatim +% cd examples/platforms +% grep -R -i -n --include="*.xml" "trace_connect" . +./two_hosts_platform_with_availability_included.xml:26: +./two_hosts_platform_with_availability_included.xml:27: +./two_hosts_platform_with_availability_included.xml:28: +./two_hosts.xml:17: +@endverbatim + \subsection pf_as_h AS Hierarchy The AS design allows SimGrid to go fast, because computing route is done only for the set of resources defined in this AS. If you're using