From e39dc1e622e1d1b310bd4376b4c76c122bfd8778 Mon Sep 17 00:00:00 2001 From: Lucas Schnorr Date: Mon, 26 Dec 2011 12:18:14 +0100 Subject: [PATCH] [doc] users can also declare variable with colors for the trace --- doc/tracing.doc | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.20.1