profilingTrigger Class Reference

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

Public Member Functions

 profilingTrigger ()
 Default construct, no profiling trigger. More...
 
 profilingTrigger (const char *name)
 Construct profiling with given description. More...
 
 profilingTrigger (const string &name)
 Construct profiling with given description. More...
 
 ~profilingTrigger ()
 Destructor. More...
 
bool running () const
 True if the triggered profiling is active. More...
 
void stop ()
 Stop triggered profiling. More...
 

Detailed Description

Triggers for starting/stopping code profiling.

Source files

Definition at line 54 of file profilingTrigger.H.

Constructor & Destructor Documentation

◆ profilingTrigger() [1/3]

Default construct, no profiling trigger.

Definition at line 35 of file profilingTrigger.C.

◆ profilingTrigger() [2/3]

profilingTrigger ( const char *  name)

Construct profiling with given description.

Descriptions beginning with 'application::' are reserved for internal use.

Definition at line 41 of file profilingTrigger.C.

◆ profilingTrigger() [3/3]

profilingTrigger ( const string name)

Construct profiling with given description.

Descriptions beginning with 'application::' are reserved for internal use.

Definition at line 47 of file profilingTrigger.C.

◆ ~profilingTrigger()

Destructor.

Definition at line 55 of file profilingTrigger.C.

Member Function Documentation

◆ running()

bool running ( ) const

True if the triggered profiling is active.

Definition at line 63 of file profilingTrigger.C.

◆ stop()

void stop ( )

Stop triggered profiling.

Definition at line 69 of file profilingTrigger.C.

References profiling::unstack().

Here is the call graph for this function:

The documentation for this class was generated from the following files: