X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6c19cd2529fe920ec5927235f4eb910b2e98b312..c94539cc65cb690b9e22ccd1b7654f2c7bd18d77:/src/instr/interface.c diff --git a/src/instr/interface.c b/src/instr/interface.c index 524bde43a9..573f498e0d 100644 --- a/src/instr/interface.c +++ b/src/instr/interface.c @@ -51,9 +51,11 @@ int TRACE_start() if (IS_TRACING_PLATFORM) { pajeDefineVariableType("power", "HOST", "power"); - pajeDefineVariableType("power_used", "HOST", "power_used"); + if (TRACE_uncategorized()){ + pajeDefineVariableType("power_used", "HOST", "power_used"); + pajeDefineVariableType("bandwidth_used", "LINK", "bandwidth_used"); + } pajeDefineVariableType("bandwidth", "LINK", "bandwidth"); - pajeDefineVariableType("bandwidth_used", "LINK", "bandwidth_used"); pajeDefineVariableType("latency", "LINK", "latency"); pajeDefineEventType("source", "LINK", "source"); pajeDefineEventType("destination", "LINK", "destination"); @@ -81,7 +83,11 @@ int TRACE_start() } if (IS_TRACING_SMPI) { - pajeDefineContainerType("MPI_PROCESS", "HOST", "MPI_PROCESS"); + if (TRACE_smpi_is_grouped()){ + pajeDefineContainerType("MPI_PROCESS", "HOST", "MPI_PROCESS"); + }else{ + pajeDefineContainerType("MPI_PROCESS", "PLATFORM", "MPI_PROCESS"); + } pajeDefineStateType("MPI_STATE", "MPI_PROCESS", "MPI_STATE"); pajeDefineLinkType("MPI_LINK", "0", "MPI_PROCESS", "MPI_PROCESS", "MPI_LINK");