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

namespace  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 addProfilingInFunction(name)    ::Foam::profilingTrigger profilingTriggerFor##name(__func__)
 
#define endProfiling(name)   profilingTriggerFor##name.stop()
 Remove profiling with specified name. 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 113 of file profilingTrigger.H.

◆ addProfilingInFunction

#define addProfilingInFunction (   name)     ::Foam::profilingTrigger profilingTriggerFor##name(__func__)

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

See also
addProfiling
endProfiling

Definition at line 124 of file profilingTrigger.H.

◆ endProfiling

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

Remove profiling with specified name.

See also
addProfiling

Definition at line 130 of file profilingTrigger.H.