ENH: add simple profiling of MPI communications

This commit is contained in:
Mark Olesen
2019-04-25 15:33:51 +02:00
committed by Andrew Heather
parent 53be19989b
commit 828f8e8504
12 changed files with 715 additions and 11 deletions

View File

@ -55,6 +55,8 @@ functions
// Demonstrate runTimePostProcessing
#include "visualization"
#include "profiling"
}

View File

@ -0,0 +1,20 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
profiling
{
type parProfiling;
libs ("libutilityFunctionObjects.so");
executeControl none;
writeControl writeTime;
}
// ************************************************************************* //