Triggers for starting/stopping code profiling. More...
Public Member Functions | |
profilingTrigger (const profilingTrigger &)=delete | |
No copy construct. More... | |
void | operator= (const profilingTrigger &)=delete |
No copy assignment. More... | |
profilingTrigger () noexcept | |
Default construct, no profiling trigger. More... | |
profilingTrigger (const char *name) | |
Construct profiling with given description. More... | |
profilingTrigger (const std::string &name) | |
Construct profiling with given description. More... | |
~profilingTrigger () | |
Destructor. More... | |
bool | running () const noexcept |
True if the triggered profiling is active. More... | |
void | stop () |
Stop triggered profiling. More... | |
Triggers for starting/stopping code profiling.
Definition at line 50 of file profilingTrigger.H.
|
delete |
No copy construct.
|
noexcept |
Default construct, no profiling trigger.
Definition at line 138 of file profilingTrigger.C.
|
explicit |
Construct profiling with given description.
Descriptions beginning with 'application::' are reserved for internal use.
Definition at line 144 of file profilingTrigger.C.
|
explicit |
Construct profiling with given description.
Descriptions beginning with 'application::' are reserved for internal use.
Definition at line 150 of file profilingTrigger.C.
References Foam::name().
~profilingTrigger | ( | ) |
Destructor.
Definition at line 162 of file profilingTrigger.C.
|
delete |
No copy assignment.
|
noexcept |
True if the triggered profiling is active.
Definition at line 170 of file profilingTrigger.C.
void stop | ( | ) |
Stop triggered profiling.
Definition at line 176 of file profilingTrigger.C.
References profiling::unstack().