trace: new interface function for tracing resource categorized utilization with SMPI
details:
- still experimental
- include "instr/instr.h" in your code MPI
- put TRACE_smpi_set_category ("name_of_your_cat") somewhere
in the code that all processes execute. example:
Do this:
{
...
TRACE_smpi_set_category (...);
if (rank == 0){
}else{
}
...
}
instead of this:
{
...
if (rank == 0){
TRACE_smpi_set_category (...);
}else{
}
...
}
- call TRACE_smpi_set_category (NULL) to de-activate
the tracing of the platform utilization according to
a category
- all this only works if the smpi simulation is launched with
the option --cfg=tracing/platform:1 (next commits will have
an additional option in smpirun to handle that)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8187
48e7efb5-ca39-0410-a469-
dd3cf9ba447f