ENH: extend parProfiling (#2737)

- separate broadcast times from reduce/gather/scatter time
- separate wait times from all-to-all time
- support invocation counts, split off requests time/count
  from others to avoid flooding the counts

- support 'detail' switch to increase the output information.
  Format may change in the future
This commit is contained in:
Mark Olesen
2023-04-04 20:54:15 +02:00
parent 475ed5cc32
commit 9577a0f6b5
13 changed files with 520 additions and 168 deletions

View File

@ -54,6 +54,7 @@ functions
// #include "sampleCellCentres"
#include "isentropicTotalPressure"
#include "wallHeatFlux"
#include "profiling"
}

View File

@ -0,0 +1,10 @@
// -*- C++ -*-
profiling
{
#includeEtc "caseDicts/profiling/parallel.cfg"
detail 2;
}
// ************************************************************************* //

View File

@ -2,14 +2,8 @@
profiling
{
type parProfiling;
libs (utilityFunctionObjects);
// Report stats on exit only (instead of every time step)
executeControl onEnd;
writeControl none;
#includeEtc "caseDicts/profiling/parallel.cfg"
detail 1;
}
// ************************************************************************* //

View File

@ -2,14 +2,8 @@
profiling
{
type parProfiling;
libs (utilityFunctionObjects);
// Report stats on exit only (instead of every time step)
executeControl onEnd;
writeControl none;
#includeEtc "caseDicts/profiling/parallel.cfg"
detail 1;
}
// ************************************************************************* //