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... | |
constexpr | profilingTrigger () noexcept |
Default construct, no profiling trigger. More... | |
template<class... StringArgs> | |
profilingTrigger (StringArgs &&... description) | |
Start profiling section (if profiling is active) with given description. More... | |
~profilingTrigger () | |
Destructor, calls stop() More... | |
bool | running () const noexcept |
True if the triggered profiling section is active. More... | |
void | stop () |
Stop triggered profiling section. More... | |
Triggers for starting/stopping code profiling.
Definition at line 50 of file profilingTrigger.H.
|
delete |
No copy construct.
|
inlinenoexcept |
Default construct, no profiling trigger.
Definition at line 124 of file profilingTrigger.H.
|
inlineexplicit |
Start profiling section (if profiling is active) with given description.
The description is generated by string concatenation of the parameters. Descriptions beginning with 'application::' are reserved for internal use.
Definition at line 136 of file profilingTrigger.H.
~profilingTrigger | ( | ) |
Destructor, calls stop()
Definition at line 169 of file profilingTrigger.C.
|
delete |
No copy assignment.
|
noexcept |
True if the triggered profiling section is active.
Definition at line 177 of file profilingTrigger.C.
void stop | ( | ) |
Stop triggered profiling section.
Definition at line 183 of file profilingTrigger.C.
References profiling::unstack().