Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
two additional functions to declare categories (now with user colors)
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 10 Nov 2010 10:22:37 +0000 (10:22 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 10 Nov 2010 10:22:37 +0000 (10:22 +0000)
commit6f1eddd629f667b1fc421bd6433603ff8eca82c5
tree3914e428dbd40d8cbd25b9bc7776b7628fff81df
parenteb458edefa0962215cc62c304bc44588308aecc4
two additional functions to declare categories (now with user colors)

details:
- TRACE_category_with_color (category, color)
- TRACE_create_category_with_color (cat, type, parent_cat, color)
- this function can be used to create hierarchical categories definition

- color is a char* that must be in the following format
    "%f %f %f", red, green, blue
where red, green, blue are float values in the interval [0, 1]

- user can specify a NULL color, or simply call the
TRACE_category (cat) or
TRACE_create_category (cat, type, parent_cat)
as before
-> instrumentation will define random colors
- but they might not be good colors for visu

- no need to configure colors during visualization analysis

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8519 48e7efb5-ca39-0410-a469-dd3cf9ba447f
include/instr/instr.h
src/instr/interface.c