Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Corrected trace doc and sligth modification in Distrib.cmake
authorLaurent Bobelin <lbobelin@mintcar.lip.ens-lyon.fr>
Thu, 24 May 2012 09:04:42 +0000 (11:04 +0200)
committerLaurent Bobelin <lbobelin@mintcar.lip.ens-lyon.fr>
Thu, 24 May 2012 09:05:04 +0000 (11:05 +0200)
buildtools/Cmake/Distrib.cmake
doc/platform.doc

index f33ecb2..8dc65ed 100644 (file)
@@ -330,7 +330,7 @@ WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
 add_custom_target(sync-gforge-doc
 COMMAND chmod g+rw -R doc/
 COMMAND chmod a+rX -R doc/
-COMMAND ssh scm.gforge.inria.fr mkdir /home/groups/simgrid/htdocs/simgrid/${release_version}/
+COMMAND ssh scm.gforge.inria.fr mkdir /home/groups/simgrid/htdocs/simgrid/${release_version}/ || true 
 COMMAND rsync --verbose --cvs-exclude --compress --delete --delete-excluded --rsh=ssh --ignore-times --recursive --links --perms --times --omit-dir-times 
 doc/html/ scm.gforge.inria.fr:/home/groups/simgrid/htdocs/simgrid/${release_version}/doc/ || true
 COMMAND scp doc/html/simgrid_modules2.png doc/html/simgrid_modules.png doc/webcruft/simgrid_logo_2011.png  doc/webcruft/simgrid_logo_small.png scm.gforge.inria.fr:/home/groups/simgrid/htdocs/simgrid/${release_version}/
index 81acedd..5aff0e6 100644 (file)
@@ -894,9 +894,19 @@ All constraints you have is that <b>trace_connect</b> is after <b>trace</b> and
 
 <b>trace</b> attributes : 
 \li <b>id (mandatory)</b>: the identifier of the trace to be used when referring to it.
-\li <b>file</b>: filename of the file to include. Possible values : absolute or relative path, syntax similar to the one in use on your system.
+\li <b>file</b>: filename of the file to include. Possible values : absolute or relative path, syntax similar to the one in use on your system. If ommited, the system expects that you provide the trace values inside the trace tags (see below).
 \li <b>trace periodicity (mandatory)</b>: trace periodicity, same definition as in hosts (see upper for details).
 
+Here is an example  of trace when no file name is provided: 
+
+\verbatim
+ <trace id="myTrace" periodicity="1.0">
+    0.0 1.0
+    11.0 0.5
+    20.0 0.8
+  </trace>
+\endverbatim
+
 <b>trace_connect</b> attributes : 
 \li <b>kind</b>: the type of trace, possible values <b>HOST_AVAIL|POWER|LINK_AVAIL|BANDWIDTH|LATENCY,</b>  default: <b>HOST_AVAIL</b>
 \li <b>trace (mandatory)</b>: the identifier of the trace referenced.