profilingTrigger.H File Reference
Include dependency graph for profilingTrigger.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  profilingTrigger
 Triggers for starting/stopping code profiling. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define addProfiling(Name, Descr)   ::Foam::profilingTrigger profilingTriggerFor##Name(Descr)
 Define profiling trigger with specified name and description string. More...
 
#define endProfiling(Name)   profilingTriggerFor##Name.stop()
 Remove profiling with specified name. More...
 
#define addProfilingInFunction(Name)   addProfiling(Name, __func__)
 Define profiling trigger with specified name and description corresponding to the compiler-defined function name string. More...
 

Detailed Description

Original source file profilingTrigger.H

Definition in file profilingTrigger.H.

Macro Definition Documentation

◆ addProfiling

#define addProfiling (   Name,
  Descr 
)    ::Foam::profilingTrigger profilingTriggerFor##Name(Descr)

Define profiling trigger with specified name and description string.

See also
endProfiling

Definition at line 131 of file profilingTrigger.H.

Referenced by ATCstandard::addATC(), snappyLayerDriver::addLayers(), adjointSpalartAllmaras::adjointMeanFlowSource(), functionObjectList::adjustTimeStep(), AMIInterpolation::agglomerate(), AMIInterpolation::append(), faceAreaWeightAMI::calcAddressing(), faceAreaWeightAMI::calcInterArea(), faceAreaWeightAMI2D::calculate(), faceAreaWeightAMI::calculate(), AMIInterpolation::calculate(), ISQP::CGforDeltaP(), ISQP::computeNewtonDirection(), optionList::constrain(), dynamicFvMesh::controlledUpdate(), optionList::correct(), adjointSpalartAllmaras::correct(), ISQP::diagPreconditioner(), distributedTriSurfaceMesh::distribute(), snappyLayerDriver::doLayers(), snappyRefineDriver::doRefine(), snappySnapDriver::doSnap(), functionObjectList::end(), functionObjectList::execute(), distributedTriSurfaceMesh::findLineAll(), distributedTriSurfaceMesh::findNearest(), distributedTriSurfaceMesh::getField(), distributedTriSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getRegion(), distributedTriSurfaceMesh::getVolumeType(), LBFGS::HessianVectorProduct(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), adjointSimple::mainIter(), adjointOutletVelocityFluxFvPatchVectorField::manipulateMatrix(), adjointWallVelocityFvPatchVectorField::manipulateMatrix(), ISQP::matrixVectorProduct(), debugWriter::mergeField(), AMIInterpolation::normaliseWeights(), optionList::operator()(), optionList::postProcessAuxSens(), optionList::postProcessSens(), ISQP::preconVectorProduct(), snappySnapDriver::preSmoothPatch(), faceAreaWeightAMI::processSourceFace(), AMIInterpolation::projectPointsToSurface(), functionObjectList::read(), faceAreaWeightAMI::restartUncoveredSourceFace(), Time::run(), snappySnapDriver::scaleMesh(), faceAreaWeightAMI::setNextFaces(), smoothSolver::solve(), adjointSimple::solve(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::solve(), ISQP::solveDeltaPEqn(), fvMatrix< Type >::solver(), fvMatrix< Type >::solveSegregatedOrCoupled(), ISQP::solveSubproblem(), optionList::source(), faceAreaWeightAMI2D::storeInterArea(), and Time::writeTimeDict().

◆ endProfiling

#define endProfiling (   Name)    profilingTriggerFor##Name.stop()

Remove profiling with specified name.

See also
addProfiling

Definition at line 139 of file profilingTrigger.H.

◆ addProfilingInFunction

#define addProfilingInFunction (   Name)    addProfiling(Name, __func__)

Define profiling trigger with specified name and description corresponding to the compiler-defined function name string.

See also
addProfiling

Definition at line 150 of file profilingTrigger.H.

Referenced by isoAdvection::advect(), gradAlpha::reconstruct(), isoAlpha::reconstruct(), and plicRDF::reconstruct().