From: Lucas Schnorr Date: Mon, 26 Dec 2011 11:18:14 +0000 (+0100) Subject: [doc] users can also declare variable with colors for the trace X-Git-Tag: exp_20120216~215 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e39dc1e622e1d1b310bd4376b4c76c122bfd8778?hp=fe58734d3551e38fc9d5856d97d3e65dc33519de [doc] users can also declare variable with colors for the trace --- diff --git a/doc/tracing.doc b/doc/tracing.doc index d8b569259a..d5596e8b34 100644 --- a/doc/tracing.doc +++ b/doc/tracing.doc @@ -95,6 +95,13 @@ Declare a user variable that will be associated to host/link. A variable can be used to trace user variables such as the number of tasks in a server, the number of clients in an application (for hosts), and so on. +\li \c TRACE_[host|link]_variable_declare_with_color (const char +*var, const char *color): Same as \c +TRACE_[host|link]_variable_declare, but user decides which color will +be assigned to the variable. The color needs to be a string with three +numbers separated by spaces in the range [0,1]. A light-gray color can +be specified using "0.7 0.7 0.7" as color. + \li \c TRACE_[host|link]_variable_[set|add|sub] (const char *[host|link], const char *variable, double value): Set the value of a given user variable for a given host/link. The value of this variable is always associated to the host/link. The host/link